php正则表达式匹配title的代码如下:
$file = "
preg_match_all('/
echo '
'; print_r($content); 结果:
print_r($content);
结果:
$s = ' ';$pat = '/(echo preg_replace($pat , '$1' , $s);