一旦在程序中定义了正则表达式,就可以使用Pattern 和Matcher 来使用正则表达式。 ... Matcher m = Pattern.compile("((13\\d)|(15\\d))\\d{8}").matcher(str); ...
確定! 回上一頁