去除特殊字符
/// <summary>
/// 去除特殊字符
/// </summary>
/// <param name="str">待处理的字符串</param>
/// <returns></returns>
public static string RemoveSpecialChar(string str)
{
return Regex.Replace(str, "[\\[\\]\\^\\-_*×――(^)$%~!@#$…&%¥—+=<>" +
"|{}!!???::•`·、。,;,.;\"‘’'-]", "");
}