Answers for "how to check if an expression is between quotes python"

6

regex to get items between quotes

(["'])(?:(?=(\\?))\2.)*?\1
Posted by: Guest on June-10-2020
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']
Posted by: Guest on December-02-2020

Code answers related to "how to check if an expression is between quotes python"

Code answers related to "Javascript"

Browse Popular Code Answers by Language