1Pattern p = Pattern.compile("\"([^\"]*)\"");
2Matcher m = p.matcher(line);
3while (m.find()) {
4 System.out.println(m.group(1));
5}
1#
2# START of getting the substring
3#
4start = line.find("\"") + len("\"")
5end = line.find("*\"")
6substring = line[start:end]
7print(substring)
8plaintxt += substring
9substring = ""
10print(plaintxt)
11#
12# END of getting the substring
13#
14
15# This will find a string in the middle of two quotes
16# with a star at the end
17# Like this: (START --->) " This is your string (END --->) *"