List of utility methods to do QQ Number Check
boolean | isQQ(String qq) is QQ if (qq == null || qq.trim().length() == 0) { return false; return Regex_QQ.matcher(qq).matches(); |
boolean | isQQ(String qq) is QQ Pattern pattern = Pattern.compile("^[1-9][0-9]{4,14}$"); return pattern.matcher(qq).matches(); |
boolean | isQQ(String str) is QQ return !Strings.isNullOrEmpty(str) && str.matches(QQ);
|
boolean | isQq(String str) is Qq boolean result = validByRegex("^[1-9]\\d{4,9}$", str); return result; |