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
> 
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to