Can I replace groups in Java regex? Pattern p = Pattern.compile("(\\d)(.*)(\\d)"); String input = "6 example input 4"; Matcher m = p.matcher(input); if ...
確定! 回上一頁