js remove special charters from a string using regular expressions code example
Example: js remove special characters
var desired = stringToReplace.replace(/[^\w\s]/gi, '')
var desired = stringToReplace.replace(/[^\w\s]/gi, '')