public static boolean stringFilter(String str)throws PatternSyntaxException{
String regEx="[`~!@#$%^&*+=|{}‘:;‘,\\[\\].<>/?~!@#¥%……&*——+|{}【】‘;:”“’。,、?\\\\]";
// String regEx = "[^a-zA-Z0-9]";
Pattern p = Pattern.compile(regEx);
Matcher m = p.matcher(str);
boolean flag= m.find();
return flag;
}