Scot, my eyes water when I look at a long regexp.
So without trying to work out that specific PCRE syntax, I'll suggest
two things:
1) Make a generic detection that finds zero or more junk characters
between the text you're looking for. The longer the parent string is,
the less likely you are
Scott,
The following should do the same. Note that I do not know if Declude
requires the whole match to be placed in parenthesis.
2[0Oo]6[\s\r\n\-\.]*888[\s\r\n\-\.]*2[0Oo]83
Matt
Scott Fisher wrote:
I'm looking to replace these lines with a pcre but it doesn't seem to
be working.
From: Matt [EMAIL PROTECTED]
Sent: Tuesday, July 03, 2007 4:08 PM
To: declude.junkmail@declude.com
Subject: Re: [Declude.JunkMail] phone regex/pcre help
Scott,
The following should do the same. Note that I do not know if Declude
requires the whole match
*From*: Matt [EMAIL PROTECTED]
*Sent*: Tuesday, July 03, 2007 4:08 PM
*To*: declude.junkmail@declude.com
*Subject*: Re: [Declude.JunkMail] phone regex/pcre help
Scott,
The following should do the same. Note that I do not know if Declude
requires the whole match to be placed in parenthesis