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;
 }
来都来了,留个言吧🙂