I have requirement to remove all the special characters from any string except " and ' .
ClientName = Regex.Replace(ClientName, @"\(.*?\)", " ").Trim();
This is the regex I am using. I want exclude all the special characters except " and '.
Example:
clientName= "S"unny, Cool. Mr"
Output should be
"S"unny Cool Mr"