[thelist] ColdFusion - Remove special characters

Erik Goodlad erik at stirlingbridge.com
Mon May 7 17:34:28 CDT 2001

I need to take a string, and replace any special characters (i.e.
periods, '&', space, etc).


The following will remove ALL characters that are not letters, numbers, or

REReplace(your_param_here, "[^0-9a-zA-Z_]", "", "ALL")

Erik Goodlad
The Stirling Bridge Group, LLC
*We Engineer Internet Business Solutions*
TEL: (949) 707-1534   FAX: (949) 707-1535

More information about the thelist mailing list