regex remove all / > < code example
Example 1: regex replace all special characters
Regex.Replace(your String, @"[^0-9a-zA-Z]+", "")
Example 2: js remove special characters
var desired = stringToReplace.replace(/[^\w\s]/gi, '')
Regex.Replace(your String, @"[^0-9a-zA-Z]+", "")
var desired = stringToReplace.replace(/[^\w\s]/gi, '')