Regex Tester

Test a regular expression against your text and see every match highlighted as you type. Runs in your browser.

//g

Processed on your device. This file is never uploaded.

  1. 1Type your pattern and toggle the flags you need.
  2. 2Paste the text to search against.
  3. 3Watch matches highlight live and read the capture groups.

Build the pattern by watching it work

The fastest way to get a regular expression right is to see it run. As you edit the pattern or the flags, every match is re-highlighted in the test text and listed with its position and capture groups — so you can tighten the expression until it grabs exactly what you mean and nothing else.

Real data stays private

Because the matching happens in your browser, you can test against actual log lines, exports or records without any of it leaving your machine. An invalid pattern is reported with the engine's own error message rather than silently doing nothing, so a stray bracket never leaves you guessing.

Frequently asked questions