public static void main(String[] args) {
// TODO Auto-generated method stub
String str="判断的字符串";
String regEx="[`~!@#$%^&*()+=|{}':;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。,、?]";
Pattern p=Pattern.compile(regEx);
Matcher m=p.matcher(str);
System.out.println(m.find());
}
// TODO Auto-generated method stub
String str="判断的字符串";
String regEx="[`~!@#$%^&*()+=|{}':;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。,、?]";
Pattern p=Pattern.compile(regEx);
Matcher m=p.matcher(str);
System.out.println(m.find());
}