Post Reply 
Adding keywords with an incrementing counter
May. 09, 2011, 10:08 AM
Post: #3
RE: Adding keywords with an incrementing counter
thanks. i went the long way Smile!
Code:
[Patterns]
Name = "TAG: noindex adbann II {sh8an}"
Active = TRUE
Multi = TRUE
URL = "(^$TST(keyword=*.noindex:1.*))$TYPE(htm)"
Bounds = "<noi(n|)dex([^>]++|)>*</noi(n|)dex([^>]++|)>"
Limit = 8000
Match = "\9"
        "("
        "$TST(keyword=noindex_strip:([0-9]++)\2.)$SET(keyword=)|"
        "$TST(keyword=\1.noindex_strip:([0-9]++)\2.)$SET(keyword=\1.)|"
        "*"
        ")"
        "$TST((\2+)=$LST(Count)|*)"
        "$SET(keyword=$GET(keyword)noindex_strip:$GET(i).)"
Replace = "<div id=adbann>\r\n"
          "removed \r\n"
          "</div>\r\n"
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Adding keywords with an incrementing counter - sh8an - May. 09, 2011 10:08 AM

Forum Jump: