quotations

Extract string from between quotations

Extract string from between quotations Question: I want to extract information from user-inputted text. Imagine I input the following: SetVariables “a” “b” “c” How would I extract information between the first set of quotations? Then the second? Then the third? Asked By: Reznor || Source Answers: >>> import re >>> re.findall(‘”([^”]*)”‘, ‘SetVariables “a” “b” “c” …

Total answers: 3