Pattern
/<\/?[A-Za-z][^>]*>/
Sample text
<div class="x">Hello</div> <br/> <!-- not a tag -->Test this pattern in the editor
Opening, closing, and self-closing tags (naive).
/<\/?[A-Za-z][^>]*>/
<div class="x">Hello</div> <br/> <!-- not a tag -->Test this pattern in the editor
Match protocol, host, and optional path/query.
Simple FQDN matcher for hostnames in prose.
kebab-case slugs for routes and CMS paths.
Extract key=value pairs from a query string.
Capture [label](url) markdown links.
Pull the 11-char id from common YouTube URLs.