Hello Bunker,

> You need a RegEx to extract the string that begins immediately after
> the last "@" character in the "To" field and is followed by either ">"
> or the end of the line.

> ++++++++++++

> thank you, any one out there can assist me Plse
> FYI, the TO field will have only a single email id.
Try this:

%BCC=""%-
%SetPattRegexp="^.*@([a-zA-z0-9.]*)>?$"%-
%RegexpBlindMatch="%TO"%-
%VAR1=%SubPatt="1"%-
%BCC="management@%VAR1, accounts@%VAR1"%-
Dear .... 


-- 
Best regards,
 Tony                            mailto:[email protected]
________________________________________________
Current version is 6.6 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to