public static void test2() {

  String str = "张三:13539558064,李四:15626829748,赵六:13718952204";
  Pattern p = Pattern.compile("1[345678]\\d{9}");
  Matcher m = p.matcher(str);

  while(m.find()) {
    System.out.println(m.group());
  }
}

相关文章:

  • 2022-12-23
  • 2021-05-17
  • 2021-07-29
  • 2022-01-04
  • 2021-12-15
  • 2021-11-13
  • 2022-12-23
  • 2021-07-18
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2022-01-23
  • 2022-01-16
  • 2022-01-07
  • 2022-02-24
  • 2022-12-23
相关资源
相似解决方案