Regex Tester
Test JavaScript regular expressions with live highlighting and capture-group inspection.
3 matches
Test string
Highlighted
Reach us at hello@countrydevs.com or support@example.org. Old email: admin@test.co
Match details (3)
#1 @12
hello@countrydevs.com$1
hello$2countrydevs.com#2 @37
support@example.org$1
support$2example.org#3 @69
admin@test.co$1
admin$2test.coHow to test a regex
- 1Write your regexUse standard JavaScript syntax — no leading/trailing slashes.
- 2Toggle flagsg, i, m, s, u, y — click to enable. Every change updates matches in real time.
- 3Inspect matchesMatches are highlighted inline. Capture groups appear in the match details list below.
Frequently asked questions
Which regex flavor?
JavaScript (ECMAScript). Lookbehind, named groups, Unicode properties — all supported in modern browsers.
Is there a max match count?
We cap rendering at 2000 matches per run to keep the UI responsive. The first 50 are shown in the details list.
Does it escape user input?
Yes. Highlighted output is HTML-escaped before rendering so patterns cannot inject markup into this page.
Can I save a regex?
Not yet. Use your browser's URL/history for now — we may add shareable links in a future update.
Need a custom dev tool for your team?
We build internal tools, dashboards, APIs, and SaaS platforms. If you can describe it, we can ship it.
Built by CountryDevs · No signup · No ads · No tracking