姿势:
Pattern pattern = Pattern.compile("^Java.*");
Matcher matcher =
pattern.matcher("Java不是人");
boolean b= matcher.matches();
常用表达式:
http://wenku.baidu.com/link?url=0N9iB5nHhjGBP56abm8Xc39Aj_8_uUuS5HeMmQJcaQVW3SgFALm_H8RDoxsjm0eL9mEiMhZ0oeUCxsudpv_7Su4vsFy3kpfKi8LQWSX5nry