Hallo Thomas, On Sun, 4 Dec 2005 10:10:40 +0700GMT (4-12-2005, 4:10 +0100, where I live), you wrote:
TF> I want to use the output from the regex in an %Account= macro. TF> Something like this: TF> %SetRegexSource="Headers" TF> %FindLine_StartsWith: "X-Apparently-To:" TF> %ExtractPattern: "The part before @" TF> %Account= "Extracted pattern" You mean something like this? %Account='%- %SetPattRegExp="(?m-s)^X-Apparently:\s(.*/?)@company.com"%- %RegExpBlindMatch="%Headers"%- %SubPatt="1"%- '%- Didn't test it, so that's up to you. I don't have any messages with an X-Apparently header. Note that my first draft of any given regexp uses to contain typos. Other solutions are possible, like when you've defined X-Apparently as header in TB. -- Groetjes, Roelof He says a thousand pleasant things, but never "Adieu." The Bat! 3.63.06 (Beta) Windows XP 5.1 Build 2600 Service Pack 2 1 pop3 account, server on LAN OTFE enabled P4 3GHz 2 GB RAM
pgpltkTkGhHFb.pgp
Description: PGP signature
________________________________________________ Current version is 3.62.14 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html