Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Ignore Text in Quotes
Open Workspace
Python
Substitution
Created 2020-09-16 14:36
0
Regular Expression
r"
yourtext
(?=
(?:
[^
'
\"
]
*
(?:
'
|
\"
)
[^
'
\"
]
*
(?:
'
|
\"
)
)*
[^
'
\"
]
*
$
)
"
gm
Description
It will only pick thet matching text outside the quotes i.e ', "
Submitted by
Anonymous