当前位置:Gxlcms > PHP教程 > 过滤字符串中url,图片地址的正则表达式_PHP教程

过滤字符串中url,图片地址的正则表达式_PHP教程

时间:2021-07-01 10:21:17 帮助过:2人阅读

过滤字符串中 url,图片地址的正则表达式
$form_html = preg_replace ( '/(?<=saction="|ssrc="|shref=")(?!http:|网页特效)(.*?)(?="s)/e', 'add_url($url, '1')', $form_html );


www.bkjia.comtruehttp://www.bkjia.com/PHPjc/445433.htmlTechArticle过滤字符串中 url,图片地址的正则表达式 $form_html = preg_replace ( /(?=saction=|ssrc=|shref=)(?!http:|网页特效)(.*?)(?=s)/e, add_url($url, 1), $form_html );...

人气教程排行