Free developer tool ยท Test

Regex Tester & Matcher

Test JavaScript regular expressions online, inspect matches and capture groups, and replace text safely in an isolated browser worker.

FreeNo signupRuns locally

Browser-only workspace

Regex Tester

Nothing uploaded
Flags
Matches

Matches run in a worker with a short safety timeout.

How to use it

Fast, private, and focused

  1. Enter a regular expression without surrounding slashes.
  2. Choose the flags needed for the test.
  3. Paste the text you want to search.
  4. Run the test or preview a replacement.

Included

What this tool handles

  • JavaScript regular-expression syntax
  • Common flags including global and case-insensitive
  • Match and capture-group details
  • Timed worker execution to stop expensive patterns

Common questions

Regex Tester FAQ

Which regex syntax does this tester use?

It uses the JavaScript RegExp syntax supported by your browser.

Can it show capture groups?

Yes. Each match lists its index, complete value, and numbered capture groups.

Can a regular expression freeze the page?

Matching runs in a disposable browser worker with a short timeout, so unusually expensive patterns can be stopped.