Hello TBTechies.
I have a feedback form on my website which results in the following
format:
*******************************************************************************
MessageType: Problem
Username: sid bhatt
UserEmail: [EMAIL PROTECTED]
UserTel: (302)633-8060
UserFAX: (302)425-0763
Remote Name: 65.2.41.83
Remote User:
HTTP User Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows 98)
Date: 06 June, 2001
Comments:
Need information on grooming a Bouvier.
----------> End pertinent info on form. <-------------
What I'd like a regexp to do is to extract the username: &
useremail: data & first sentence after "Comments" (Ex: Need
information on grooming a Bouvier.)
I'd like to insert the username into a greeting macro, the
useraddress into a %To macro & the output of the first sentence
after comments is to serve as part of the text of the msg, as in:
Hello "Sid"
On <DATE> you used the BouvSite Feedback form to inquire about
about: "need information on grooming a Bouvier."
Any help would be appreciated.
Many thanks.
--
Jan Rifkinson
Ridgefield, CT USA
TB! V1.53 Beta/11/W2K_SP2/PGP Key ID: 0x3F14A060
ICQ 41116329
--
______________________________________________________
Archives : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>
You are subscribed as : [email protected]