Regex Tester
Type a /pattern/flags and test text to see every match highlighted with its capture groups, plus a live Replace preview. Matching runs in a Web Worker with a timeout, so a catastrophic pattern can't freeze the page.
FAQ
- Which regex flavor is used?
- Your browser's JavaScript (ECMAScript) regular expression engine, including the d, s, u, v and y flags.
- Is my code uploaded anywhere?
- No. Formatting runs entirely in your browser; the code you paste is not sent to a server. The only feature that talks to a backend is the optional encrypted share link, which encrypts the snippet in your browser first.