I am trying to write a Filter that searches the Header for www123. Only the numbers will always change.
Can I use a wildcard that will search for a 6 character www address, like www### ?
Thanks in advance
Bill
Rule/Filter that uses Wildcard
- rusticdog
- Firetrust Monkey
Post
Re: Rule/Filter that uses Wildcard
Hi Bill
You need to use a Regular Expression when using wildcards in a filter.
The syntax for the particular engine is here http://www.regexlab.com/en/deelx/syntax/bas_set.htm
So what would work is changing the filter to use REGEX and then look for something like
www\d{3}
The \d matches any number, the {3} says to match exactly 3 times. If you used {3,} instead, this would match at least three times.
www[:digit:]{2,}
You need to use a Regular Expression when using wildcards in a filter.
The syntax for the particular engine is here http://www.regexlab.com/en/deelx/syntax/bas_set.htm
So what would work is changing the filter to use REGEX and then look for something like
www\d{3}
The \d matches any number, the {3} says to match exactly 3 times. If you used {3,} instead, this would match at least three times.
www[:digit:]{2,}