1、过滤敏感字符

1、

  public static String RemoveSpecialCharacter(String hexData)
  {
      return Regex.Replace(hexData, "[ 
 
 	 \[ \] \^ \-_*×――(^)$%~!@#$…&%¥—+=<>《》!!???::•`·、。,;,.;"‘’“”-]", "").ToUpper();
  }
原文地址:https://www.cnblogs.com/fger/p/11150069.html