Hi Januk,

on Mon, 10 Sep 2001 21:50:34 -0700 GMT (which was 11.09.2001, 06:50
where I live) Januk Aggarwal wrote:



> This is the line you want.  Just change your regexp from:

> (?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2})\s*?(.*))

> To:
> (?m-s)^Date\:\s*((.*?[\d]{4})\s*([\d]{0,2}\:[\d]{0,2})\s*(.*))

> All that's changed is we added an anchor so the word Date must be the
> first thing on the line.  It should work now.  In fact, the way you're
> using the regexp, you can replace that complicated mess with something
> much simpler:

> (?m-s)^Date\:\s*(.*?)\s*$

As you can see, it's now o. K.! Thank you very much!

-- 
Best regards,
Roland               mailto: [EMAIL PROTECTED]

PGP-Key: 0x0D023C45
Homepage: http://www.rolandburger.de

I use The Bat! v1.53t under Windows 98 4.10 Build 2222  A !



-- 
______________________________________________________
Archives   : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to