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
Regex to match words or phrases in string but NOT match if part of a URL or inside <a> </a> tags
Open Workspace
Python
Match
Created 2021-06-05 12:06
0
Regular Expression
r"
Amazon
(?!
[^
<
]
*
</a>
)
"
gm
Description
Stack:
https://stackoverflow.com/a/6009552/13023113
Submitted by
Anonymous