package com.test;
public class T {
public static void main(String[] args) {
test();
}
public static void test() {
String regex = "^\\d{14,15}$";
String str = "123456789012341";
boolean flag = str.matches(regex);
System.err.println(flag);
}
}
校验手机IMEI
最新推荐文章于 2021-11-08 09:43:35 发布