Re: [Assp-user] Regex help.

2010-03-05 Thread Scott Haneda
On Mar 5, 2010, at 7:07 AM, Paul K. Dickson wrote: > Does anyone have a regex to match a blank subject or a subject with just > “Subject: re”? Trying to avoid catching subjects with any additional > characters. > > I’ve tried: > > ^Subject: $ > Subject: $ > Subject: \n > Subject: \Z > Subject:

Re: [Assp-user] Regex help.

2010-03-05 Thread PMW-Troy
Here's a site with a RegEx tester. http://regexlib.com/RETester.aspx I had a different one, but I can't find it anymore. On 3/5/2010 9:07 AM, Paul K. Dickson wrote: > Does anyone have a regex to match a blank subject or a subject with just > ³Subject: re²? Trying to avoid catching subjects with

[Assp-user] Regex help.

2010-03-05 Thread Paul K. Dickson
Does anyone have a regex to match a blank subject or a subject with just ³Subject: re²? Trying to avoid catching subjects with any additional characters. I¹ve tried: ^Subject: $ Subject: $ Subject: \n Subject: \Z Subject: \z And all of the above except with the ³re² included. Paul K. Dickso