Raymond, one of those silly little questions, but is there any preference in using:
ReplaceNoCase(STR,"[^0-9a-zA-Z]","","ALL") or REReplaceNoCase(STR,"[^0-9a-z]","","ALL") to replace case-insensitively? > -----Original Message----- > From: Raymond Camden [mailto:[EMAIL PROTECTED]] > Sent: 02 November 2001 14:59 > To: CF-Talk > Subject: RE: Parsing/Stripping out not letters or numbers > > > 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..... > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com 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

