Re: [Assp-user] [SPAM] Got a regex for this?

2006-08-26 Thread paul+as
On 25 Aug 2006 at 23:53, billc wrote: [a-z]|[A-Z] instead of \w (I want it only to find single letters at this point, not words) For the record \w *is* a single character (equivalent to [0-9a-zA-Z_] ) Another good regex checker which explains expressions is The Regex Coach

Re: [Assp-user] [SPAM] Got a regex for this?

2006-08-25 Thread billc
At 11:25 AM +0200 8/25/06, Matti Haack wrote: Hello, Try this: (?:(?:\n|\r|(?:\r\n)) ,\w){4}? WIth a few changes, that appears to be doing the trick. Thanks. changes are: [a-z]|[A-Z] instead of \w (I want it only to find single letters at this point, not words) and (3) instead of (4), as the