tools/regex
toolspatterns

Regex Lab

Test a regular expression against live text with match highlighting and capture groups, get a plain-English breakdown of every token, and grab common patterns from a library.

Runs on your machine — JavaScript regex engine

Pattern
//g
4 matches
Flags

Scanning always runs global; toggles affect the copied regex.

Common patterns
Test text
Live highlight
Reach the team at hello@atelier.dev or support@example.co.uk. Old inbox othmane.b+test@mail-server.io still forwards. A plain line with no address here. Bounce reports go to no-reply@notifications.example.org.

Matches

00hello@atelier.dev@18
01support@example.co.uk@39
02othmane.b+test@mail-server.io@72
03no-reply@notifications.example.org@174

Breakdown

\bword boundary
[\w.+-]+any one of the set [\w.+-] — repeated one or more times
@literal "@"
[\w-]+any one of the set [\w-] — repeated one or more times
\.literal "."
[\w.-]+any one of the set [\w.-] — repeated one or more times
\bword boundary