在 替换内容 不为空白(因为有时需要查错)的前提下,怎样避免以上情况出现?
谢谢!
举例:
规则:
Code: Select all
[Patterns]
Name = "Kill ad href"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<a\s*</a>"
Limit = 480
Match = "\0 (href=$AV(*$LST(Adhref)*))\1*"
Replace = "<!---------- kill ad \1 ---------->
Code: Select all
<!--
<a href="http://s.click.alimama.com/a/qve0X8/Z1P0=-10005495" target=_blank><img src="ad/ad_diyszyh.jpg" width="760" height="90" border="0" /></a>
-->