摘要: 判断字符串中是否有数字 public static boolean HasDigit(String content) { boolean flag = false; Pattern p = Pattern.compile(".*\\d+.*"); Matcher m = p.matcher(cont 阅读全文
posted @ 2022-05-11 15:31 西北逍遥 阅读(119) 评论(0) 推荐(0) 编辑