Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(example)(?![^<]*>)(?![^<]*<\/markup\>)
/
ig
Input 1
New
This is an outside Example <p href="https://example.com"> This is a para Example</p><markup class="m"> this is a markup example</markup>
Extraction
This is an outside Example <p href="https://example.com"> This is a para Example</p><markup class="m"> this is a markup example</markup>