Hi Jan,
Historians believe that Thu, 22 Mar 2001 at 10:49 GMT -0500 was when,
Jan Rifkinson [JR] typed the following:
<snip>
JR> I'd like to be able to pluck out the "username:" (if there is one)
JR> or pluck out "userEmail" as an alternative to use as a greeting,
JR> i.e. Dear username or userEmail.
Try this:
%SETPATTREGEXP="(?is)^(?(?=Username:\s*\S*)Username:\s*(\S*)|.*UserEmail:\s*(\S*))"%REGEXPBLINDMATCH="%TEXT"%SUBPATT="1"%SUBPATT="2"
JR> Also would like to use the userEmail as a reply to address.
%TO='%SETPATTREGEXP="(?is)^UserEmail:\s*(\S*)\s*$"%REGEXPMATCH="%TEXT"'
JR> Any help would surely be appreciated.
JR> TIA
You're welcome.
--
Thanks for writing,
Januk Aggarwal
Using The Bat! 1.51 under Windows 98 4.10 Build 2222 A
All science is either physics or stamp collecting. -- E. Rutherford
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]