Steve, not sure if I understand, stripping everything between and including the HTML opening tag would leave nothing, right? Or do you mean BODY tag? If so, this should do the trick. If I misunderstood let me know and I'll give it another go.
reReplaceNocase(this, "<body>.*</body>", "") Taco Fleur ----- Original Message ----- From: "Steve Onnis" <[EMAIL PROTECTED]> To: "CFAussie Mailing List" <[EMAIL PROTECTED]> Sent: Friday, February 28, 2003 4:22 PM Subject: [cfaussie] Nifty Reg Expression Needed > > Any one have a regular expression around that will strip out everything > between and including the HTML opening tags? > > so > ---------------------------------------------------------------- > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > > <html> > <head> > <title>Untitled</title> > </head> > > <body> > ---------------------------------------------------------------- > > I could do it with a series of FIND() functions but reg expression will be > cleaner > > Regards > > Steve Onnis > Domain Concept Designs > +61 422 337 685 > +61 3 9444 7504 > > http://www.domainconceptdesigns.com <http://www.domainconceptdesigns.com> > > ("If you think it can't be done, you haven't asked me!") - Steve Onnis > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
