How to use Special Characters (|&|) in Exchange Transportation Rules?

595 views Asked by At

I am trying to add a new transportation rule to an Exchange 2016 server. The rule should effect all mails with the following character set in the title: |&|

I used 'If the title contains one of the following words' and added the string |&| there . Unfortunately it does not work. When I use only & the rule works.

Should I use maybe \ or " like in some programming languages? All I tried did work work.

Thank you!

1

There are 1 answers

0
Patrick Derckx On BEST ANSWER

Solved! One have to use the pattern matching, not the string matching and escape the | with \. The resulting expression is ^(\|&\|)