Ah. I tried that before as *.</head> - switching the two characters did the trick.
Thanks! Any good sites/books out there about RegEx? -----Original Message----- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 3:44 PM To: CF-Talk Subject: RE: REGEX help You can't use * by itself. It needs to apply to something. Try .*</HEAD> Regards, Matthew Walker /* Easier, smarter forms: http://www.matthewwalker.net.nz/inform2 */ > -----Original Message----- > From: Ian Lurie [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 4 June 2002 10:25 a.m. > To: CF-Talk > Subject: REGEX help > > > Someday I'll figure this out: > > I need to replace all characters from </head> to the beginning of the > string, inclusive. How do I do it? > > I tried: > > <CFSET content = ReReplaceNoCase(content,"*</HEAD>","")> > > But got nowhere... > > Ian > > Portent Interactive > Helping clients build customer relationships on the web since 1995 > Consulting, design, development, measurement > http://www.portentinteractive.com > Talk with us: http://projects.portentinteractive.com > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists