Regular expression to filter url and image address in string
$form_html = preg_replace ( '/(?<=saction="|ssrc="|shref=")(?!http:|Web page special effects)(.*?)(?="s)/e', 'add_url ($url, '1')', $form_html );
http://www.bkjia.com/PHPjc/445433.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445433.htmlTechArticleRegular expression for filtering url and image address in string $form_html = preg_replace ( /(?=saction=| ssrc=|shref=)(?!http:|Web page special effects)(.*?)(?=s)/e, add_url($url, 1), $form_html );...