Hi Peter, Wednesday, May 11, 2005, 8:19:20 PM, you wrote:
PO> PS: don't ask me about the regex, I just use it ;) The first regexpr %SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]%-{0,2}\:[\d]{0,2})\s*?(.*))"%- %REGEXPMATCH="%HEADERS" extracts the date time stamp put in as Date: from the source the second <mid:%SETPATTREGEXP="<(.*)>"%REGEXPMATCH="%OMSGID"> takes <[EMAIL PROTECTED]> and turns it to <mid:[EMAIL PROTECTED]> Which turns it from a clicky thing that would work as an Email address (and be bounced) to a mail ID that the bat understands :) Tada, now you understand :) and I have a macro thingy I can use coz I dont use threads, but sometimes I would find it useful to include references so I can click back :) -- Best regards, Liz (mailto:[EMAIL PROTECTED]) Website: http://www.xcalibur.co.uk ________________________________________________________ Current beta is 3.5 Return RC/7 | 'Using TBBETA' information: http://www.silverstones.com/thebat/TBUDLInfo.html IMPORTANT: To register as a Beta tester, use this link first - http://www.ritlabs.com/en/partners/testers/