Regex Tester

Test JavaScript regular expressions live with highlighted matches and capture groups. Free, no sign-up, runs in your browser.

Loading tool…

About this tool

Type a pattern and flags, then paste test text. Matches are highlighted and each match’s groups are listed in a table.

How to use it

  1. Enter or paste your values in the fields above.
  2. The result updates as you type.
  3. Use the Copy button to copy the result.

Frequently asked questions

Which regex flavor is this?

JavaScript (ECMAScript), the same engine your browser and Node.js use.

Why do I get only one match?

Add the g flag to find all matches.

Let’s talk

Need a team to build it?

We build the software behind tools like this: web apps, APIs, SaaS products and AI features.