Page 1 of 1

How to create generic rule?

Posted: Tue Jun 19, 2012 2:01 pm
by Anakunda
Hi!
I need some help with building filter for generic rule that applies ta all current and future elements.
All the occurencies of unwanted element follow the naming scheme

myserver.com###block-ad-92
myserver.com###block-ad-21473
myserver.com###block-ad-806
...
...

So I need a rule to match path myserver.com###block-ad- followed by a positive nuber.
However making filter myserver.com###block-ad-* doesnot work.

Re: How to create generic rule?

Posted: Tue Jun 19, 2012 2:04 pm
by lewisje
You could try myserver.com##[id^="block-ad-"]

Generally, wildcards don't work in hiding rules the way they do in blocking rules.

Re: How to create generic rule?

Posted: Tue Jun 19, 2012 2:16 pm
by Anakunda
This seems to work, thanks 8)