Build, test, and debug regular expressions
Matches the literal word 'Amazon' only when it is not already part of a hyperlink. The negative lookahead (?![^<]*</a>) rejects the match if a closing </a> tag appears ahead with no intervening '<' character, so both anchor text like <a>Amazon</a> and occurrences inside URLs within href attributes are skipped. Typically used to auto-link keywords in HTML content without double-linking existing anchors. The g flag finds all occurrences per line.