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...
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...