I want to extract information from user-inputted text. Imagine I input the following:
SetVariables \"a\" \"b\" \"c\"
How would I extract in
Regular expressions are good at this:
import re quoted = re.compile('"[^"]*"') for value in quoted.findall(userInputtedText): print value