How to remove special character from string which can include Asian character?

  • Thread starter Thread starter Jeff0803
  • Start date Start date
J

Jeff0803

Guest
I can remove special character from string which includes English/Numeric characters like following.

public static string RemoveSpecialCharacters(string str)
{
return Regex.Replace(str, "[^a-zA-Z0-9_.]+", "", RegexOptions.Compiled);
}

However this removes non-special characters in case of Asian character.

How to remove only special character?

Continue reading...
 
Back
Top