I have this little bit of code to create a username that takes out the spaces in someone's last name. It works fine but I also need to take out dashes "-" and any special characters. How could I do this?
<cfset newusername = "Compli'cated last-naméç">
<cfset newusername = replacenocase(newusername," ", "", "all")>