hi

all


i m using regular expression for parsing outlook mails

like

From: Cliff Young
To: Support
Sent: Monday, July 04, 2005 5:03 PM
Subject: Re: Wallpaper changer

from the body of mail for multiple threads in a mail.

i want a regular exp for getting continuous selected text from

From: to Subject:

but the problem is regular exp terminates itself as the line ends

it might work with above example but not with the below

when body contains the text like

From:</B>
<A [email protected]
href="mailto:[email protected]">Cliff Young</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A [email protected]
href="mailto:[email protected]">[email protected]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 04, 2005 7:56
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Wallpaper changer</DIV>


i just want to use regular expr for continuous multiline selection for

From: ********* Subject:.*

so help me in finding substrings using regular expr

i m using visual basic for experiment

pls tell me where i could find the related articles

thanks a lot in advance
Edit/Delete Message