如题.
2.代码
Pattern pattern = Pattern.compile("^([a-z]+|[A-Z]+|[0-9]+)$"); Matcher m = pattern.matcher("fwefw"); System.out.println(m.matches());原文链接:https://www.f2er.com/regex/360958.html
Pattern pattern = Pattern.compile("^([a-z]+|[A-Z]+|[0-9]+)$"); Matcher m = pattern.matcher("fwefw"); System.out.println(m.matches());原文链接:https://www.f2er.com/regex/360958.html