Hi,

I need a Regular Expression to remove muliple spaces within a string but
leave single spaces. I poked around and came up with:

 <cfset variable="#REReplace("#form.string#", "space{2,6}","","ALL")#">

Not working. What am I doing wrong?

TIA,

Douglas Jordon


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to