Re: Complex RegEx help request

2008-05-20 Thread Tom Chiverton
On Monday 19 May 2008, Jeremy Prevost wrote: emailFirstname Lastname/email into this: a href=javascript:ColdFusion.Window.create('staffContact#FirstName##Lastname #','Contact%20#Firstname#%20#Lastname#', refind() with 'returnsubmatches' enabled, and then use those array positions with mid()

RE: Complex RegEx help request

2008-05-19 Thread Bobby Hartsfield
Hi Jeremy, Here is how I do it in CF4em to replace things like [code]some code[/code] Loop the string, replacing the blocks with a marker and storing the name in an array (the array position would match the marker) Then you can loop the array, convert the names to links and put them back into

Re: Complex RegEx help request

2008-05-19 Thread Jeremy Prevost
Thanks Bobby, I'll give that a shot. On Mon, May 19, 2008 at 6:20 PM, Bobby Hartsfield [EMAIL PROTECTED] wrote: Hi Jeremy, Here is how I do it in CF4em to replace things like [code]some code[/code] Loop the string, replacing the blocks with a marker and storing the name in an array (the