Page 1 of 1

How to write filter to check Subject line for all lowercase??

Posted: Tue Sep 15, 2020 9:35 am
by blueboy714
I cannot figure out MW7's filters - it used to be easier.

How do write a filter to check the subject line (or body) for all lowercase or numbers?

Someone got a hold of my email somewhere and it flooding me with emails.

Thanks

Re: How to write filter to check Subject line for all lowercase??

Posted: Tue Sep 15, 2020 8:15 pm
by rusticdog
The regular expression engine we use has these nice POSIX sets, http://www.regexlab.com/en/deelx/syntax/bas_set.htm
In this case you can use
[:upper:]

Which would only refer to upper case characters.

So set the filter up as :
SUBJECT, DOESN'T CONTAIN, REGEX, [:upper:]
That'll match any message where the subject is only lower case characters.

BODY, DOESN'T CONTAIN, REGEX, [:upper:]
To match on the message body being all lower case, or being only digits. Or being blank would match.

Re: How to write filter to check Subject line for all lowercase??

Posted: Wed Sep 16, 2020 5:26 am
by blueboy714
thanks rusticdog - this worked like a charm.