正則表達式匹配全部以小寫字符開頭的單詞

//正則表達式 "(\\b[a-z][A-Za-z]*\\b)" 測試用例 Matcher mac = Pattern.compile("(\\b[a-z][a-zA-Z]*\\b)").matcher("the Aalone await abc wait success sdf"); while (mac.find()) { System.out.println(mac.group());
相關文章
相關標籤/搜索