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
Findin only a 4 digit number?
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm