C# Trim non ASCII characters

Date: 2019-10-24
public static string TrimNonAscii(string value)
{
	string pattern = "[^ -~]+";
	Regex reg_exp = new Regex(pattern);
	return reg_exp.Replace(value, "");
}
27110cookie-checkC# Trim non ASCII characters