时间:2021-07-01 10:21:17 帮助过:5人阅读
$str ="点击asssa
";
$mtstr = preg_replace('/src=/','src=http://test.disuzs.logo.com/',$str);
print_r($mtstr); //结果http://test.uchome.disuzs.lodo.com/'https://www.gxlcms.com/attachment/201404/15/1_139755736546p8.jpg'
//这里img标签多了一对'' 如何破??
$str ="点击asssa
";
$mtstr = preg_replace('/src=/','src=http://test.disuzs.logo.com/',$str);
print_r($mtstr); //结果http://test.uchome.disuzs.lodo.com/'https://www.gxlcms.com/attachment/201404/15/1_139755736546p8.jpg'
//这里img标签多了一对'' 如何破??