return s.matches("\\d{3,4}-\\d{6,8}"); return s.matches("\\d{3,4}\\-\\d{6,8}");
这两种都行
Sign in to make a reply
金黄新世界秩序
这两种都行