Pages: 1
RSS
I need a regular expression!
 
Hi All

Can anyone help me as it is driving me crazy!

I need to filter all mail that has the word "transformer" in the subject line. The problem is the word transformer is different for all the countries we work with and so I am hoping I can use a Regular Expression in the "match all as a regular expression" entry in the Sorting Office filter rules. I need to catch incidents of the following and NOT be case sensitive:

transformer
transformador
transformateur
transformator
transformatoren
Transformatorer
Transformere
Transformadores

Can any of you experts come up with a regular expression that I can paste into the box and make all my pain go away!?

Cheers
Ray


 
Try this:
Subject matches all as RegExp (?i)transform(er|ador|ateur|ator|atoren|atorer|ere|adores)

Did three tests, looks like it's working.
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Hi Roelof

Many thanks for your expression and quick answer. The expression works like a dream!

Much appreciated!

Cheers
Ray
Pages: 1