摘要: 使用正则表达式 String str = "A" Pattern p = Pattern.compile("[A-Z]+"); Pattern p1 = Pattern.compile("[a-z]+"); Matcher m = p.matcher(str); Matcher m1 = p1.ma 阅读全文
posted @ 2017-10-10 15:24 孙宝路 阅读(2403) 评论(0) 推荐(0) 编辑