Try this: REReplace(crazyString, "[^[:ascii:]]", "", "ALL")
Cheers, Artur -----Original Message----- From: Jon Block [mailto:[EMAIL PROTECTED] Sent: Monday, November 21, 2005 4:59 PM To: CF-Talk Subject: How can i remove all non-ascii characters from a string? Would this work? <cfset newstring = reReplaceNoCase(crazyString, "[^-a-zA-Z0-9 @`!""##$%&'()*+,-./:;\[{<\|=\]}>^~?_]", " ", "All") /> There has to be some better way of doing this... Thank you, Jon This electronic message transmission contains information from Collegiate Funding Services, LLC or its subsidiaries or affiliates that may be confidential or privileged. The information is intended to be for the use of only the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this electronic transmission in error, please notify the sender by reply e-mail @cfsloans.com immediately and delete this e-mail and any attachments from your system and any copies you may have made, electronic or otherwise. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224812 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54