You can use:
Patter pt = Pattern.compile("(\"[^\"]*\")");
Just keep in mind that this is also capturing ""(empty string).
TESTS:
String text="\"Video or movie\" \"parent\" \"Media or entertainment\" \"1\" \"1\" \"1\" \"0\" \"0\"";
Matcher m = Pattern.compile("(\"[^\"]*\")").matcher(text);
while(m.find())
System.out.printf("Macthed: [%s]%n", m.group(1));
CONCLUSION:
Macthed: ["Video or movie"]
Macthed: ["parent"]
Macthed: ["Media or entertainment"]
Macthed: ["1"]
Macthed: ["1"]
Macthed: ["1"]
Macthed: ["0"]
Macthed: ["0"]
source
share