java 中使用正则
摘要:
var str = "a222b333c"; var matcher = Pattern.compile("\\d+").matcher(str); while(matcher.find()) { //输出匹配到数据 System.out.println(matcher.group()); //拿到 阅读全文
posted @ 2022-04-28 16:06 空明流光 阅读(128) 评论(0) 推荐(0)
posted @ 2022-04-28 16:06 空明流光 阅读(128) 评论(0) 推荐(0)
posted @ 2022-04-28 15:01 空明流光 阅读(3084) 评论(0) 推荐(0)