标签:
1 private boolean isInteger(final String str) 2 { 3 final Pattern pattern = Pattern.compile("^[-\\+]?[\\d]*$"); 4 return pattern.matcher(str).matches(); 5 }
textbox正则表达式校验
原文地址:http://www.cnblogs.com/Lichangyang/p/5964425.html