Are you sure that's a good description of what you want to do? The regex that you're using will do exactly that.
This is <B>bold</B> text. becomes This is \b bold</B> text. Jim ----- Original Message ----- From: "Kay Smoljak" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, December 31, 2001 11:37 PM Subject: Quick regexp help > I wonder if there's anyone around who can help me with this... It's > driving me crazy. I want a regexp to find a pattern starting with "<B ", > then any number of characters, until the first ">" and replace it with > "\b " (RTF markup). > > I have tried doing this, but it's not working: > > <cfset cleantext = rereplacenocase(grubbytext,"<B[^>]*>","\b ","ALL")> > > Anyone? > K. > ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona 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

