Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python regex inside quotes

"(?:.|[^"])*"

"       # Match a quote.
(?:     # Either match...
 .    # an escaped character
|       # or
 [^"] # any character except quote or backslash.
)*      # Repeat any number of times.
"       # Match another quote.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #regex #quotes
ADD COMMENT
Topic
Name
6+3 =