"Regex Playground: Interactive Regex Tester with Real-Time Highlighting"
Regular expressions are powerful, but writing them without instant feedback is a pain. Today we're launching Regex Playground — a fast, dark-themed regex tester that shows you what's matching as you type.
What it does
- Real-time match highlighting — every match lights up in your test string as you type your pattern, no button press needed
- Capture group visualisation — numbered and named groups are displayed per match in the details table
- Substitution mode — test your replacement string with
$1,$2,$<name>, or$&backreferences and see the result instantly - Built-in cheat sheet — anchors, quantifiers, character classes, lookaheads, groups, escape sequences, and replacement tokens, all in a sticky sidebar
- Pattern library — 22 ready-to-use patterns: email, UUID, IPv4, IPv6, ISO date, EU date, phone (E.164 + US), hex colour, HTML tags, credit card, IBAN, UK/DE postcodes, URL slugs, JWT, semver, Markdown links, usernames, and a named-group date example
- Shareable permalinks — generate a short URL that encodes your pattern, flags, test string, and replacement so you can share or bookmark your work
Flag toggles
Flags are controlled by clickable buttons (g, i, m, s, u, y) that stay in sync with the raw flags input — whichever way you prefer to work.
Try it
No signup, no tracking, just a tool that stays out of your way.