Skip to content
Toolden

TOOLDENDEVELOPERON-DEVICE

Regex Tester

Write a pattern and watch matches highlight live in your text, with indices and capture groups. Runs entirely in your browser.

Allowed: d g i m s u v y (g enables all matches).

Type a pattern to start matching.

HOW TO USE

  1. 1Type your regular expression pattern.
  2. 2Paste the text you want to search.
  3. 3Every match is highlighted in place, with match indices and capture groups listed.
  4. 4Adjust the pattern and watch results update live.

EXAMPLE

INPUT

Pattern: /d+/ on "Order 42 and 7 items"

OUTPUT

Two matches, 42 and 7, highlighted with their positions

FAQ

Which regex syntax is supported?
JavaScript regex syntax, matching exactly what your browser runtime supports.
Can I see capture groups?
Yes. Groups defined with parentheses are shown alongside each match.
Is my data sent to a server?
No. Matching runs entirely in your browser.

RELATED TOOLS