String str = "莫建坡";
String reg = "^.*[^\\x00-\\xff]+.*$";
if(str.matches(reg)){
System.out.println("有中文");
}