DEV Community

Dev Nestio
Dev Nestio

Posted on

Regex Tester Pro — Live Highlighting, Named Groups, 40+ Pattern Library

Why Another Regex Tester?

There are plenty of regex testers out there, but most lack the features developers actually need day-to-day: named capture groups, all six JS flags, a replace mode, and a curated library of real-world patterns.

Regex Tester Pro is a high-feature, zero-dependency regex debugger that runs entirely in your browser.

Features

  • Live match highlighting — see matches instantly as you type, color-coded by index
  • All 6 flags: g (global), i (ignore case), m (multiline), s (dotAll), u (unicode), y (sticky)
  • Named groups(?<name>...) groups displayed with their names in the match table
  • Match details table — index, end position, captured groups for every match
  • Replace mode — test $1, $2, $<name> substitutions live
  • 40+ pattern library — email, UUID, URL, IPv4/6, dates, credit card, JWT, semantic version, Docker image, CSS selectors, JS/Python code patterns, and more
  • Quick reference table — all regex syntax at a glance
  • Sample text — one click loads realistic test data

Try It

👉 regex-tester-pro-aba.pages.dev

Pattern Library Highlights

/[a-zA-Z0-9._%+\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,}/gi  — Email
/\b[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\b/gi   UUID
/(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2})/g   ISO Date (named groups)
/\b(\w+)\s+\1\b/gi   Duplicate words
Enter fullscreen mode Exit fullscreen mode

Built With

Pure Vanilla JS. No external regex library — uses the native RegExp engine, so results match exactly what your JavaScript code will see.


Part of devnestio.pages.dev — 100+ free developer tools.

Top comments (0)