标签: php preg-match
答案 0 :(得分:19)
答案 1 :(得分:-2)
试试这个:
preg_match('"http:\/\/(.+?)\"', $code, $matches);