正文Java正则表达式, 提取双引号中间的部分IP云V管理员/2022-11-29/3 阅读 11/29提示:扫一扫查出行【扫一扫了解最新限行尾号】复制提示 String str="this is \"Tom\" and \"Eric\", this is \"Bruce lee\", he is a chinese, name is \"李小龙\"。"; Pattern p=Pattern.compile("\"(.*?)\""); Matcher m=p.matcher(str); while(m.find()){ System.out.println(m.group()); }