> <cfset innerStr = > reReplaceNoCase(str,'(.*<h1.*?>)(.*?)(</h1>.*)','\2','all')>
Spike - Thanks, that helps alot. I've actually modified it to make it a tad less greedy - title = reReplaceNoCase(form.help,"([^<]*<h1>)([^<]*)(</h1>.*)","\2","one"); As there may be more than 1 <h1> header on a page. (and it's controlled output, so there will be no class on the <h1> tag) But stupid question - whats the difference between (.*) or (.*?) seems kinda pointless to me? Cheers, Mark ----------------------------------- [EMAIL PROTECTED] ICQ: 3094740 Safe From Bees [www.safefrombees.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/
