移除字符串中的汉字

先获取字符串中的汉字,再用“”空格去代替。

private static Regex RegCHZN = new Regex("[\u4e00-\u9fa5]");

  public static string GetRemoveCHZNStr(string inputstr)
        {
            Match m =RegCHZN.Match(inputstr);
            string str = inputstr.Replace(m.ToString(),"");
            return str;
        } 

原文地址:https://www.cnblogs.com/yuany69/p/6387210.html