ColdFusion – clean string from non ASCII chars

<cfset str=reReplace(str, "[^\x20-\x7E]", "", "ALL")>

source: http://shemy-coldfusion.blogspot.com/2013/04/remove-non-ascii-characters-in.html


Comments are closed.