04-17-2008 08:19 PM
I am new to the Ironport world. We have the c300 appliance and I am building some content filters via the GUI. I would like to create a dictionary with phrases for "Chainmail" so that I can block. I have several phrases that are working but I would like to creat one as this,
send this to 7 people
I would like to replace the 7 with a wild card. I have tried regular wildcards but they don't work. Wildcards have been ? and *.
I checked the docmentation and all I found was a single line that said wildcards could be used.
Any help would be great.
Ron
04-18-2008 07:35 AM
If you want to match any of this:
send this to 17 people
send this to 2 people
send this to 99 people
Then try using the \d regular expression
send this to \d+ people
The "\d" mean a number (0 through 9)
and the "+" means 1 or more occurrence of the previous entry.
So, "\d+", means one or more digits.
\d* means zero or more occurence of a number
I am new to the Ironport world. We have the c300 appliance and I am building some content filters via the GUI. I would like to create a dictionary with phrases for "Chainmail" so that I can block. I have several phrases that are working but I would like to creat one as this,
send this to 7 people
I would like to replace the 7 with a wild card. I have tried regular wildcards but they don't work. Wildcards have been ? and *.
I checked the docmentation and all I found was a single line that said wildcards could be used.
Any help would be great.
Ron
04-18-2008 07:36 AM
And by the way, the content and message filters use Python regex.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide