python get chars among quotation marks

38

# credit to the Stack Overflow user in the source link

import re
re.findall('"([^"]*)"', 'SetVariables "a" "b" "c" ')
>>> ['a', 'b', 'c']

Comments

Submit
0 Comments