Hmm. Careful, I think that will only match a single digit number. Hers the fix. DRE
<cfset newContent=rereplacenocase(Content,"\[([1-9]+)\]","<a href=""here.cfm?v=\1"">view</a>","ALL")> -----Original Message----- From: Deanna Schneider [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 2:18 PM To: CF-Talk Subject: Re: Looping to find [brackets] Oops. Shoulda played a little longer. Here's the real code that works. (never knew about that v=\1 thing...what are the "rules" for that?) <cfset newContent=rereplacenocase(Content,"\[([1-9])\]","<a href=""here.cfm?v=\1"">view</a>","ALL")> Deanna Schneider Interactive Media Developer [EMAIL PROTECTED] ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com 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

