<script type="text/javascript" src="http://m.4275.cn/client/default/Ecshop/js/region.js" ></script>
VKVKVBKJML;M
<script type="text/javascript" >sfgsgs</script>
DSGSDSHBfsfs
<script type="text/javascript" ></script>
<script src="http://m.4275.cn/client/default/Ecshop/js/region.js" ></script>
<script src="http://m type="text/javascript" src="http://m.4275.cn/.js" ></script>
像这样一段代码 我只要求匹配<script type="text/javascript" ></script>这种句子,凡是中间有 src=的句子都不要匹配到
怎么写?
我这么写不行<script (?!src=).*?>\w*</script>
VKVKVBKJML;M
<script type="text/javascript" >sfgsgs</script>
DSGSDSHBfsfs
<script type="text/javascript" ></script>
<script src="http://m.4275.cn/client/default/Ecshop/js/region.js" ></script>
<script src="http://m type="text/javascript" src="http://m.4275.cn/.js" ></script>
像这样一段代码 我只要求匹配<script type="text/javascript" ></script>这种句子,凡是中间有 src=的句子都不要匹配到
怎么写?
我这么写不行<script (?!src=).*?>\w*</script>