判断密码中必须含有大写字母,小写字母,数字和特殊字符,至少三种
摘要:private static boolean getMatch(String str){ int count=0; Pattern p1 = Pattern.compile("[A-Z]"); if(p1.matcher(str).find()){ count++; } Pattern p2 = P
阅读全文
posted @ 2021-11-09 21:14
posted @ 2021-11-09 21:14
posted @ 2021-11-06 08:47
posted @ 2021-11-03 10:42
posted @ 2021-11-02 20:21