windows live writer

public String regx(String regx,String text)
 {
 Matcher matcher=Pattern.compile(regx).matcher(text);
 if(matcher.find())
 return matcher.group();
 else
 return null;
 }
posted @ 2013-09-30 08:53  一文艺青年  阅读(129)  评论(0)    收藏  举报