In the transport rules from Exchange 2007 you can use regular expressions. This can let you block specific words. But what happens in some cases is that correct words are also blocked because they contain the blocked specified character pattern. You can prevent this by using one or more of the parameters below:

parameter description
\S \S can be used to replace a single character which is not a space.
\s \s can be used to replace a single white-space.
\D \D can be used to match any non-numeric digit.
\d \d can be used to match a single digit.
\w \w can be used to search for a character which is a Unicode character from the category letter or number.
| The pipe ( | ) character can be used to create an OR function.
* The wildcard ( * ) character matches zero or more instances of the character before the parameter.
( ) Characters between the () will be grouped, this makes it possible to search for a specific character pattern.
\\ The 2 backslashes can be used to escape a specific character, for example \\d can be used to search for the pattern \d in an expression.
^ The ^ character can be used to match a pattern which starts with a specific pattern.
$ The $ character can be used to search for a pattern which ends with a specific character pattern.

As you can see there are a lot of possibilities. It may cost a lot of time to figure out which filter works the best in your situation.

More info can be found on the Technet article below.

Regular Expressions in Transport Rules


Comments


Johan Veldhuis