ReUtil.findAll
查找所有匹配文本
importcn.hutool.core.util.ReUtil; importjava.util.ArrayList; importjava.util.List; publicclassTest { publicstaticvoidmain(String[] args) { Stringcontent="ZZZaaabbbccc中文1234"; List<String>resultFindAll=ReUtil.findAll("\\w{2}", content, 0, newArrayList<String>()); System.out.println(resultFindAll); } }