On Wednesday 3 June 2015 at 10:41:49 AM, in <mid:948782155.20150603151...@eagle-mar.com>, bun...@eagle-mar.com wrote:
> hello friends, > i have this QT called AA, an acknowledgment QT prepared > only under a NEW window. > first i insert the email id in the TO field. then i run > the QT in the text body. > what i want to do now is to extract the domain name of > the email id i enter and place it in the BCC field with > the name "management@....., operations@..... and > accounts@......" when the QT is run. > hope someone can assist me plse Somebody who knows about regular expressions could help. 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. -- vernon ________________________________________________ Current version is 6.6 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html