✓ Runs locally in your browser

Regex Tester

Run JavaScript regular expressions against sample text with match details.

Loading the local tool workspace…
About this tool

What is Regex Tester?

Regex Tester runs JavaScript regular expressions against sample text and exposes every match and capture.

Three simple steps

How to use Regex Tester

  1. 01

    Enter a pattern and the text you want to search.

  2. 02

    Enable the flags needed for global, case-insensitive or multiline matching.

  3. 03

    Review matched text, positions and capture groups before using the pattern.

Common questions

Regex Tester FAQ

Why does a pattern work elsewhere but fail here?

Another language may support different tokens or flags. Adapt the expression to JavaScript regex syntax.

Is Regex Tester private to use?

Yes. The data is processed by code running in your browser and is not uploaded to Toolnera.