截取汉字前的字符串
public static void main(String[] args) {
String str = "ZZZ123456789浙江";
str = str.replaceAll("[^\u4e00-\u9fa5]", "");
String num= str.substring(0,1);
System.out.println(num);
String a= "ZZZ123456789浙江";
String b= a.substring(0,a.indexOf(num));
System.out.println(b);
}