Test a JavaScript regular expression against your text — live match highlighting, capture groups, and flag toggles. Everything runs in your browser.
Write a JavaScript regular expression and see every match highlighted in your sample text as you type. The Regex Tester lists capture groups for each match, supports all JavaScript flags (g, i, m, s, u, y), and tells you immediately when a pattern is invalid — no more guessing why your regex matched nothing.
Because it uses the browser's own regex engine, what you see here is exactly what your JavaScript or TypeScript code will do. Test data stays in your browser.
JavaScript (ECMAScript), the engine built into your browser. Most patterns also work in other languages, but look-behind, named groups and Unicode property escapes differ between engines.
Yes — use (?<name>...) and the group list will show the names.
No. Everything runs in the browser.
Free, private, no account. Like every DevForge tool, this one runs in your browser and never uploads your files. See all 35 free tools or join the DevForge community to share your own games, tools and assets.