Skip to content

Regex tester

Test JavaScript regular expressions with matches and capture groups. Time-limited for safety.

AvailableIn your browserInput: Text

How to use: Regex tester

  1. Type the pattern and flags (g, i, m, s, u, y, d).
  2. Paste the test text.
  3. Review the matches and captured groups.

What it accepts and what you get

Input
A JavaScript pattern and text up to 200,000 characters.
Output
A list of matches with positions and groups.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • It uses JavaScript regular-expression syntax.
  • It runs in a separate worker with a 1.5 s limit so a catastrophic pattern cannot freeze the page.