这次真的晕了,关于正则的
$content="<a href=topic.cgi?forum=27&topic=17268&show=125 title=\"我喜欢的衣服..title ";
preg_match_all("/forum=27(.*)(title)/sm",$content,$matches);
print_r($matches[0]);
——————
现在输出是:
Array ( [0] => forum=27&topic=17268&show=125 title="我喜欢的衣服..title )
怎么样写才能输出下面这个?
Array ( [0] => forum=27&topic=17268&show=125 title)