1import re
2foo = 'SetVariables "a" "b" "c" '
3bar = re.findall('"([^"]*)"', foo)
4
5print(bar)
6### ['a", 'b', 'c']
1import re
2text1 = '"Python", "PHP", "Java"'
3print(re.findall(r'"(.*?)"', text1))
1import re
2foo = 'SetVariables "a" "b" "c" '
3bar = re.findall('"([^"]*)"', foo)
4
5print(bar)
6# ['a', 'b', 'c']