Text

Regex Tester

Write a regular expression and instantly see every match highlighted in your test string, along with capture groups. A fast regex tester and debugger that runs locally — great for validating patterns for email, dates, and more.

100% free · runs in your browser · nothing is uploaded.

Why use this tool

  • 100% free, forever
  • No sign-up or login
  • Runs entirely in your browser
  • Your files never leave your device
  • Unlimited use, no watermarks
  • Works on desktop and mobile

How to use Regex Tester

  1. 1

    Enter your regex pattern and flags (like g, i, m).

  2. 2

    Paste a test string.

  3. 3

    See matches highlighted live, with capture groups listed.

Write a pattern and flags, then see every match highlighted in your test string, with capture groups listed.

Frequently asked questions

JavaScript (ECMAScript) regular expressions — the same engine that runs in browsers and Node.js.

Related tools