Type a JavaScript regular expression and a test string to see every match highlighted live, with each capture group broken out, plus an optional replace preview using $1, $2, $&-style replacement patterns. Everything runs with the browser's native RegExp engine on your device — nothing is uploaded anywhere.
JavaScript's native RegExp engine (ECMAScript), the same one your browser and Node.js use. Flags: g, i, m, s, u.
Each match in the list below the highlighted text shows its full match plus any numbered capture groups it contains.
Turn on "Enable replace preview" and type a replacement pattern — $& for the whole match, $1/$2 for capture groups — to see the resulting text live.
No. Matching happens entirely in your browser using the built-in regex engine.