Here's the code I ended up using:
REReplaceNoCase(contents, '.+<body[^>]*>(.+)</body>.+', "\1")
As it was, it removed the BODY tags but not the contents before and after
them.
Again, thanks.
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
Michael Dinowitz wrote:
> rereplacenocase(string, '<body[^>]*>(.+)</body>', \1)
> Your looking for the body tag with anything in it, then everything after
> that body tag that does not include the ending body tag. Using REReplace
is
> the most efficient here as your peeling off what you don't want (i.e.
whats
> not body content)
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

