String str = "AAAA bbbbb CCCC DDDDDD EEEE";
Pattern pattern = Pattern.compile("(?<=)(.+?)(?=)");
Matcher matcher = pattern.matcher(str);
while(matcher.find()){
System.out.println(matcher.group());
}
String str = "
String[] strs = str.split("<.+?>");
你试着按CTRL+V来复制