使用java.util.regex.Pattern 及java.util.regex.Matcher。 //建立表達式Pattern p = Pattern.compile( "expression" ); //建立Matcher 群組,以顯示出符合的項目。
確定! 回上一頁