Findin only a 4 digit number?
Posted: Thu May 11, 2017 4:07 pm
I'm getting several spams a day with a subject that is simply a four digit number. So I want to construct a filter using regex that would take these subjects
abc 1278
1234
4321xyz
4567
abc6789def
abcd 6789 def
and delete only these two:
1234
4567
I will probably have to adapt it to suit my email program (Forte's Agent). But it would be a great help if someone could advise me how to get a regex expression that would find lines containing only a four digit number please.
Terry, East Grinstead, UK
abc 1278
1234
4321xyz
4567
abc6789def
abcd 6789 def
and delete only these two:
1234
4567
I will probably have to adapt it to suit my email program (Forte's Agent). But it would be a great help if someone could advise me how to get a regex expression that would find lines containing only a four digit number please.
Terry, East Grinstead, UK