Python parser

I want to create a Python text parser. All texts in quotation marks should be found. This is quite simple in Passolo as a text parser, by setting " as the beginning and end connoisseur. But the problem is caused by escaped characters. If there is a quotation mark in the text, then write \". If you want to display a backslash \\. This is searched in paths and is often placed at the end of the string, directly before the closing quotation mark:
So I need a parser that can also parse the text.

print ("c:\\test\\" + "this is a \"test\"")

The parser should then return two texts:
c:\\test\\
and
this is a \"test\"

Any ideas?
Thanks Winfried
Parents Reply Children