public static void main(String[] args) {
String str = "a:2:{i:31;s:26:\"中国\t河北省\t保定市\";i:53;s:36:\"中国\t河北省\t保定市\t竞秀区\";}";
Matcher matcher = Pattern.compile("i:\\d+").matcher(str);
while (matcher.find()) {
System.out.println(matcher.group().substring(2));
}
}
