如题.
2.代码.
Pattern pattern = Pattern.compile("^([A-z]{3}).*$"); Matcher m = pattern.matcher("SKU12"); System.out.println(m.matches());原文链接:https://www.f2er.com/regex/361047.html
Pattern pattern = Pattern.compile("^([A-z]{3}).*$"); Matcher m = pattern.matcher("SKU12"); System.out.println(m.matches());原文链接:https://www.f2er.com/regex/361047.html