Cheatsheet Pages / Regex Cheatsheet
A quick regex for HTML tags — and when not to use it
A rough scrape needs to spot tags — nothing more.
Patterns use the syntax shared by PCRE / Python / JavaScript; engine differences are flagged in the cheatsheet where they matter. Test any pattern at regex101.com — and pick the matching engine.
<[^>]+>
# matches: <p>, </div>, <a href="x">
