python get everything between quotes code example
Example 1: python get the elements between quotes in string
import re
foo = 'SetVariables "a" "b" "c" '
bar = re.findall('"([^"]*)"', foo)
print(bar)
### ['a", 'b', 'c']
Example 2: finding text between quotes in python
import re
text1 = '"Python", "PHP", "Java"'
print(re.findall(r'"(.*?)"', text1))