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()); }
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()); }