标签:move turn 特殊字符 ati 处理 amp ace hellip stat
 /// <summary>
        /// 去除特殊字符
        /// </summary>
        /// <param name="str">待处理的字符串</param>
        /// <returns></returns>
        public static string RemoveSpecialChar(string str)
        {
              return Regex.Replace(str, "[\\[\\]\\^\\-_*×――(^)$%~!@#$…&%¥—+=<>" +
                    "|{}!!???::•`·、。,;,.;\"‘’‘-]", "");
        }
标签:move turn 特殊字符 ati 处理 amp ace hellip stat
原文地址:https://www.cnblogs.com/cnyg/p/12808843.html