2021-07-03
Java常用正则表达式整理手机号:String regPhone="^[1](([3|5|8][\\d])|([4][4,5,6,7,8,9])|([6][2,5,6,7])|([7][^9])|([9][1,8,9]))[\\d]{8}$";身份证号:public class IDUtils { public static boolean isIDNumber(String IDNumber) { if (IDNumber == null || "".equals(IDN
原创
2021-07-03 11:47:31 ·
81 阅读 ·
0 评论