![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
正则表达式
四戒哥特
这个作者很懒,什么都没留下…
展开
-
java验证身份证号码
介绍xxxxxx yyyy MM dd 375 0 十八位xxxxxx yy MM dd 75 0 十五位地区: [1-9]\d{5}年的前两位: (18|19|([23]\d)) 1800-2399年的后两位: \d{2}月份: ((0[1-9])|(10|11|12))原创 2017-09-12 19:05:07 · 273 阅读 · 0 评论 -
java后台正则验证
package com.fsti.icop.util.regexp;import java.util.regex.Matcher;import java.util.regex.Pattern;public final class RegExpValidatorUtils {/*** 验证邮箱* * @param 待验证的字符串* @return 如果转载 2017-09-12 18:59:36 · 692 阅读 · 0 评论 -
身份证 正则 有效验证
public static boolean IDCardValidate(String IDStr) throws ParseException { String[] ValCodeArr = { "1", "0", "X", "9", "8", "7", "6", "5", "4", "3", "2" }; String[] Wi = { "7", "...原创 2019-07-11 10:34:01 · 343 阅读 · 0 评论