Pattern
/^[a-z0-9]+(?:-[a-z0-9]+)*$/
Sample text
how-it-works How-It-Works double--dash trailing-Test this pattern in the editor
kebab-case slugs for routes and CMS paths.
/^[a-z0-9]+(?:-[a-z0-9]+)*$/
how-it-works How-It-Works double--dash trailing-Test this pattern in the editor
Capture local and domain parts from common email shapes.
Match protocol, host, and optional path/query.
Simple FQDN matcher for hostnames in prose.
Match HH:MM or HH:MM:SS clock times.
5-digit ZIP or ZIP+4.
Six-digit Russian postal index.