随笔分类 -  正则表达式

摘要:1 package regex; 2 3 import java.io.BufferedReader; 4 import java.io.FileNotFoundException; 5 import java.io.FileReader; 6 import java.io.IOExceptio... 阅读全文
posted @ 2015-12-05 17:51 Akke 阅读(236) 评论(0) 推荐(0)
摘要:1 package regex; 2 3 import java.util.regex.Matcher; 4 import java.util.regex.Pattern; 5 6 public class regexDemo { 7 public static void main(S... 阅读全文
posted @ 2015-12-01 03:08 Akke 阅读(360) 评论(0) 推荐(1)
摘要:1 package regex; 2 3 public class TestReg01 { 4 public static void main(String[] args) { 5 //"."表示任意字符 6 System.out.println("a".... 阅读全文
posted @ 2015-11-28 18:18 Akke 阅读(189) 评论(0) 推荐(0)