[thelist] ColdFusion - Remove special characters
Erik Goodlad
erik at stirlingbridge.com
Mon May 7 17:34:28 CDT 2001
<snip>
I need to take a string, and replace any special characters (i.e.
periods, '&', space, etc).
</snip>
Jon,
The following will remove ALL characters that are not letters, numbers, or
underscores:
REReplace(your_param_here, "[^0-9a-zA-Z_]", "", "ALL")
Later,
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