Hi, i have a textfile with a string in it. The string is built like this: test =""" [ "this is a text and its supposed to contain every possible char." ], [ "like *.;#]§< and many more." ], [ "plus there are even newlines in it." ]""" I want to parse out each text in between the square brackets and the quotes. So my desired output would be a list like the following: `['this is a text and its supposed to contain every possible char.', 'like *.;#]§< and many more.', 'plus there are even newlines in it.']` I tried …

Member Avatar
Member Avatar
+0 forum 6

The End.