fork download
  1. strs = ['https://e...content-available-to-author-only...e.com/en/app/893245','https://e...content-available-to-author-only...e.com/ru/app/wq23245','https://e...content-available-to-author-only...e.com/app/8984245']
  2. strs.each { |s|
  3. p s[/example\.com\/(\w+)\/app/, 1]
  4. }
Success #stdin #stdout 0s 28216KB
stdin
Standard input is empty
stdout
"en"
"ru"
nil