Test, debug, and understand your regex — privately
A regex tester lets you type a regular expression and a sample text and see, live, exactly which parts match, what each capture group captured, and what a replacement would produce. This one runs your browser's own JavaScript (ECMAScript) engine locally — nothing is uploaded.
Regular expressions are dense by design. A pattern like ^(?<user>[\w.+-]+)@([\w-]+\.)+[a-z]{2,}$ is a few dozen characters that encode a lot of decisions, and reading it back is much harder than writing it. A regex tester closes that gap: you type the pattern, paste some realistic text, and the tool shows you the truth instead of your assumptions.
Type into the pattern editor and it compiles on every keystroke. A valid pattern gets a green confirmation; an invalid one gets the browser's own error message, so an unclosed group or a stray quantifier surfaces immediately rather than at runtime. Toggle the flags — g, i, m, s, u — and the results update instantly. Every match lights up in the test string, the badge counts them, and the Match Details tab breaks each one down: its start and end index, the matched text, every numbered capture group (including the ones that came back undefined), and every named group if you used (?<name>…) syntax. Switch to the Replacement tab, type something like $1-$2 or $<user>, and you see the transformed text before you commit it to code.
Everything happens in your browser. There is no server, no upload, no account, and no logging of what you paste. That matters more here than for most tools, because regex test strings are almost always real data — log lines, email addresses, API tokens, customer records, a slice of a database dump. On this page that data never leaves your device, and the tool keeps working offline once the page has loaded. You can confirm it in your browser's network tab.
One thing to be clear about up front: this tests the JavaScript flavor, and that is not the same as Python's or PCRE's. The next section explains exactly what that means for you.
Working with structured data too? See the JSON Formatter, CSV to JSON, and URL Encoder/Decoder.