how to remove a string with special characters with start and end in javascript regex code example
Example: js remove special characters
var desired = stringToReplace.replace(/[^\w\s]/gi, '')
var desired = stringToReplace.replace(/[^\w\s]/gi, '')