public static void main(String args[]) {
String str="For my money, the important thing "+"about the meeting was bridge-building";
String regEx="([a-zA-Z0-9]|[_])*";
Pattern p=Pattern.compile(regEx);
Matcher m=p.matcher(str);
boolean result=m.find();
System.out.println(result);
}
这个方法我如何用usename来代替测试?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货