Hi S,

on Tue, 13 Jan 2004 06:01:55 +1100GMT (12.01.04, 20:01 +0100GMT here),
you wrote in mid:[EMAIL PROTECTED] :

SJL> I looked at the Help File re time/date macros but could not see the
SJL> answer for this one.

You need regular expressions for this in The Bat!. Here is the one I
use to produce the above text:

on%SETPATTREGEXP="(?m-s)on%SETPATTREGEXP="(?m-s)^Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPMATCH="%HEADERS"GMT
 (%ODATESHORT, %OTIME +0100GMT here),
you wrote in mid:%SETPATTREGEXP=";<(.*)>"%REGEXPMATCH="%OMSGID" :
%CURSOR

Adjust it to your needs and insert it in your template.

-- 
Cheers
Peter

Help Microsoft stamp out piracy - give Linux to a friend today.



________________________________________________
Current version is 2.02.3 CE | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to