java正則表達式校驗手機號、郵箱、身份證

1.校驗手機號 /** * 驗證手機號碼 * @param mobiles * @return */ public static boolean isMobileNO( String mobiles){ boolean flag = false; try{ Pattern regex = Pattern.compile("
相關文章
相關標籤/搜索