Regular Expressions 101

Library entries

Regex to match words or phrases in string but NOT match if part of a URL or inside <a> </a> tags

Vote

0

Regular Expression
python

"
Amazon(?![^<]*</a>)
"
gm

Description

Loading markdown...
Submitted by anonymous - 6 months ago