toolkitta.

Regex Tester

Test a JavaScript regular expression on text and inspect every match, group and position.

Processed on this device
Paste text or open a fileOr start from an example:
Waiting for input

JavaScript regex runs locally. Slow expressions are stopped after one second.

Matches

The result appears here.

Ctrl+↵ copy result · Ctrl+Shift+F result to input

How it works

How to use Regex Tester

  1. Paste sample text.
  2. Enter a regular expression and choose its flags.
  3. Review matches and groups, then copy the match list.
Frequently asked questions

Useful details

2 answers
Which regex syntax is supported?

Your browser's JavaScript regular expressions.

What happens with a slow pattern?

Testing runs in a separate browser worker and stops after one second. Shorten the text or simplify the pattern if that happens.

More help

Guides, common conversions and useful next steps.