Java 的正規表示式,有一個group 的概念可以做到這件事. String regex = "(AB)(CD)(EF)"; Pattern pattern = Pattern.compile(regex); Matcher ...
確定! 回上一頁