Regex Tester

Test and debug regular expressions online with live matches. Free private regex tester — no signup.

About this tool

Regex Tester lets you try regular expressions against sample text with live matches. Debug patterns for validation, search, or replace before you ship them in code.

How to use

  1. Enter your regular expression and optional flags.
  2. Paste sample text to test against.
  3. Inspect matches, groups, and failures live.
  4. Copy the working pattern into your project.

FAQ

Which flavor of regex is used?

JavaScript regular expressions, matching what most browsers and Node use.

Can I test replace patterns?

Use the tester to verify matches first, then apply replace in your editor or code.

Is my text sent anywhere?

No. Matching runs in your browser only.

What does Regex Tester do?

Regex Tester lets you try regular expressions against sample text with live matches.

How do I use Regex Tester?

Open the Regex Tester tool, then enter your regular expression and optional flags.

Related tools