String str = "<html> <font color='red'>student </font> </html> "; Matcher matcher = Pattern.compile("(?<=\\>)[^<]+(?=\\</)").matcher(str); while(matcher.find()){ System.out.println(matcher.group()); }
81,092
社区成员
341,716
社区内容
加载中
试试用AI创作助手写篇文章吧