php 正则里面不要含有重复标签
麻烦好心人帮我修改一下下面的正则,要求所匹配到的字符串里面不能再含有script标签。弄了一个上午了,不懂正则,没办法。谢谢了。
$pregfind = array(
"/<script.+'width',\s+'(\d+)',\s+'height',\s+'(\d+)'.+'src',\s+'([^\']+)'.+<\/script>/eiU",
'/<script language="JavaScript">player\(\'player_\'\+\d+,\'(.*)\'.+<\/script>/eiU',
);
------解决方案--------------------/<script[\d\D]*>[\d\D]*<\/script>/is