ListFan
Text · Free

Regex match inspector

Test a regular expression against text and inspect matches and positions. Long-running expressions are stopped.

01Enter your values

Runs in your browser
Text

02Regex match inspector

Runs in your browser

How it works

Test a regular expression against text and inspect matches and positions. Long-running expressions are stopped.

Runs in your browser

Discovery source

Your data stays yours

Inputs are processed on this page and are never sent to a server.

About this tool

Test a regular expression against text and inspect matches and positions. Long-running expressions are stopped.

Inspect JavaScript regex matches and groups; at most 300 matches are displayed.

Use tool ↑

How to use it

  1. Enter your values

    Pattern · Flags · Text

  2. Calculate / generate

    Test a regular expression against text and inspect matches and positions. Long-running expressions are stopped.

  3. Result

    Matches: 4 [0] Small [6] tools [13] Instant [21] answers

Calculation method

Inspect JavaScript regex matches and groups; at most 300 matches are displayed.

Example scenario

Regex match inspector

Pattern
\b\w{4,}\b
Flags
g
Text
Small tools. Instant answers.
Result
Matches: 4
[0] Small
[6] tools
[13] Instant
[21] answers

Frequently asked questions

How should I interpret the result?

Inspect JavaScript regex matches and groups; at most 300 matches are displayed.

Where does my data go?

Calculations run on your device. Form inputs are not sent to a server.