Zenixbase
Open app

Test a regular expression

Paste a pattern and some text to see exactly what your regular expression matches — every match with its index and capture groups, plus an optional replacement preview. The result is saved privately in your account.

No sign-up needed — runs instantly in your browser.

How it works

  1. 1Enter your pattern and the text to test
  2. 2Pick the flags (and an optional replacement), then press Run
  3. 3Read the matches or find the report in your files

Frequently asked questions

Which regex flavour is used?
JavaScript regular expressions — the same syntax as RegExp, with the global, ignore-case, multiline and dot-all flags.
Can I preview a replacement?
Yes — add a replacement string (with $1, $<name> etc.) and the report includes the fully substituted text.

Related tools