How to get what is between the quotes in the following two texts ?
text_1 = r\"\"\" \"Some text on \\\"two\\\" lines with a backslash escaped\\\\\" \\ +
>>> import re >>> text = "Some text on\n\"two\"lines" + "Another texton\n\"three\"\nlines" >>> re.findall(r'"(.*)"', text) ["two", "three"]