匹配首字母为字母,后续为数字的号码: Pattern.matches('^[a-zA-Z]-*[0-9]+', String) 转载于:https://www.cnblogs.com/resetsuna/p/10566211.html