Pattern
/\b\d{5}(?:-\d{4})?\b/Sample text
94107 94107-1234 9410Test this pattern in the editor
5-digit ZIP or ZIP+4.
/\b\d{5}(?:-\d{4})?\b/94107 94107-1234 9410Test this pattern in the editor
Capture local and domain parts from common email shapes.
Match protocol, host, and optional path/query.
Match HH:MM or HH:MM:SS clock times.
Require length and mixed character classes (demo only).
3–16 chars: letter start, then letters, digits, underscore.
kebab-case slugs for routes and CMS paths.