← All developer tools/.*/

Regular Expression Tester

Run a JavaScript regex against sample text and inspect each match and capture group.

Runs locallyNo accountFree
Test textMaximum 1 MB
No test run yet.

Ready. Input is processed only in this tab.

Important

This uses JavaScript regular-expression syntax. Pathological patterns can take a long time on large text, so input size is limited.

How to use this regex tester

  1. Enter a pattern and flags.
  2. Paste the text to test.
  3. Review matches, positions and groups.

Related developer tools