Code: Select all
<div id="ad">00000000</div>
Code: Select all
[Patterns]
Name = "ad_div 1"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<div\s$INEST(<div *>,</div>)</div>"
Limit = 2560
Match = "<div[^>]++\sid=$AV(ad)*"
Code: Select all
[Patterns]
Name = "ad_div 2"
Active = TRUE
URL = "$TYPE(htm)"
Bounds = "<div\s[^>]+>"
Limit = 100
Match = "<div[^>]++\s(id=$AV(ad))\1 *>"
Replace = "<div \1 style="display:none;">"