1、
public static String RemoveSpecialCharacter(String hexData) { return Regex.Replace(hexData, "[ \[ \] \^ \-_*×――(^)$%~!@#$…&%¥—+=<>《》!!???::•`·、。,;,.;"‘’“”-]", "").ToUpper(); }