标签:
public function scriptReplace($string){ $preg = "/<script[\s\S]*?<\/script>/i"; return preg_replace($preg,"",$string,-1); }
过滤字符串中的SCRIPT
原文地址:http://www.cnblogs.com/lianruihong/p/5546900.html