Free Tools
Blog

Regex Tester

Test a regular expression against sample text and see every match, with captured groups, highlighted instantly.

0 matches

Matching runs entirely in your browser. Nothing is sent to a server.

How to use this tool

  1. 1Enter a regular expression pattern.
  2. 2Set any flags you need (e.g. "gi" for global, case-insensitive).
  3. 3Paste your test string — matches and captured groups appear automatically.

Features

  • Live matching as you type.
  • Shows every match with its position and captured groups.
  • Clear error message for an invalid pattern.
  • No account or sign-up required.

Privacy

Your pattern and test string are matched entirely in your browser. Nothing is sent to a server.

Frequently asked questions

Is this regex tester free?

Yes, and there is no limit on how many times you can use it.

What regex flavor does it use?

JavaScript's built-in RegExp engine — the same one used in browsers and Node.js.

Why is there a limit of 1000 matches?

A pattern that matches an extremely large number of times (or matches on every position) could otherwise freeze the page — 1000 is enough to debug almost any real pattern.

Is my text sent to a server?

No. Matching happens locally in your browser.

Related tools