You mean replacing anything that isn't a num or a letter? <CFSET STR = "Some original string"> <CFSET CLEAN_STR = REReplaceNoCase(STR,"[^0-9a-z]","","ALL")>
Normally you would want to keep spaces as well. If so, add a space after 'z'. ======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: BT [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 02, 2001 9:42 AM > To: CF-Talk > Subject: Parsing/Stripping out not letters or numbers > > > Anyone know how I may do this? We're running CF5..... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.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

