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:
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
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