fork download
  1. # -*- coding: utf-8 -*-
  2. s = gets
  3. s =~ /(?<=<a href=").*?(?=">)/
  4. p $&
Success #stdin #stdout 0.01s 7452KB
stdin
<a href="http://h...content-available-to-author-only...e.com">のhogehoge.comだけ正規表現で抜き出したいんだけど
stdout
"http://h...content-available-to-author-only...e.com"