写个正则表达式
本文来源gaodai.ma#com搞##代!^码@网*
搞gaodaima代码
我
提取出来‘我爱中国 – 我我我我’,怎么写正则表达式
——解决方案——————–
$str="<TITLE>我爱中国 - 我我我我</TITLE>";<br />preg_match("/\<TITLE\>(.*)\<\/TITLE\>/",$str,$arr);<br />echo $arr[1];exit;
写个正则表达式
搞gaodaima代码
我
——解决方案——————–
$str="<TITLE>我爱中国 - 我我我我</TITLE>";<br />preg_match("/\<TITLE\>(.*)\<\/TITLE\>/",$str,$arr);<br />echo $arr[1];exit;