I want to remove all special characters from a string. Allowed characters are A-Z (uppercase or lowercase), numbers (0-9), underscore (_), white space ( ), pecentage(%) or the d
Regex.Replace(input, "[^a-zA-Z0-9% ._]", string.Empty)