时间:2021-07-01 10:21:17 帮助过:29人阅读
$str=<<------解决方案--------------------
preg_match('/title="([^#\"]+)#/s',$s,$m);
prinit_r($m[1]);
------解决方案--------------------
/------解决方案--------------------
/------解决方案--------------------
$contents = $match[1];
foreach($contents as &$v) $v='http://localhost/'.$v;
$contents = implode('#',$contents);
echo $contents;