I'm trying to use regular expressions in CF Studio's Extended Replace, but I must be doing something wrong. I have a list of variables, each on a separate line, like this:
form.variable1 form.variable2 form.variable3 etc... I need to insert some text before and after each variable, but the text needs to incorporate the variable as well. I'd like the variable list to look like this afterwards: <cfif form.variable1 EQ ""><cfset form.variable1 = "_____"></cfif> <cfif form.variable2 EQ ""><cfset form.variable2 = "_____"></cfif> <cfif form.variable3 EQ ""><cfset form.variable3 = "_____"></cfif> etc... I can easily add text before and after the variable without regex, but using the variable in another part of the replacement is what's getting me. Thanks in advance for your help. Pablo Nevares [EMAIL PROTECTED] ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.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

