Hello David,

On  Thu, 23 Nov 2000  at  21:21:39 GMT -0800 (PST) (which was 9:21 PM
where I live) witnesses say David Perrotta typed:

> From the little I understand of TB's regular
> expressions capabilities, I think that there IS some
> way to do this.

> Here's an example of the type of e-mail I'd be
> responding to and from which I'm trying to extract the
> information for FIRST NAME and LAST NAME so that I can
> insert these into my auto reply:

>>First Name: David N.
>>Last Name: Perrotta

Try the following:

---Begin Macro---

%SETPATTREGEXP="(?is).*?First.Name:\s*(.*?)$.*?Last.Name:\s*(.*?)$"%REGEXPBLINDMATCH="%TEXT"
Extracted First Name: %SUBPATT="1"
Extracted Last Name : %SUBPATT="2"

---End Macro---

When applied to the message you sent, this is the output:

Extracted First Name: David N.
Extracted Last Name : Perrotta

Try that and see if it works for you.

Hope that helps.

-- 
Thanks for writing,
 Januk Aggarwal
 See header for e-mail address

 Using The Bat! 1.48 Beta/7
 under Windows 98 4.10 Build 2222  A 

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]


Reply via email to