cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2671
Views
0
Helpful
2
Replies

Dictionary wildcards

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

2 Replies 2

kluu_ironport
Level 2
Level 2

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

kluu_ironport
Level 2
Level 2

And by the way, the content and message filters use Python regex.