Friday, 15 January 2010

Regex Question (detecting spam) -


I'm getting weird spam, where the email body only has this:

4606142 5801100 2704743

How can I grep with regex?

It is 3x7 number, different with space.

thx

try it

  ( \ D {7}?) {3}  

Or, if this white space creates a difference (as Al said in the comment)

  (\ D {7}) {2} \ d {7}  

No comments:

Post a Comment