ListFan
Archive · Free

Regex match inspector

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

This tool is archived. Recheck its method and dated data before use.

01Enter your values

Runs in your browser

Runs offline in your browser. Once the page and required files have loaded, processing needs no internet.

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. Calculation method

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

  3. Example scenario · Result

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

Calculation method

  1. 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.

Terms and definitions

Enter your values

Pattern

Enter the source text; it is processed locally.

Flags

Enter the source text; it is processed locally.

Text

Enter the source text; it is processed locally.

Result

Result

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

Calculated from your entries using the method below.

Pattern

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

Calculated from your entries using the method below.

Flags

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

Calculated from your entries using the method below.

Common mistakes and quick fixes

Regex match inspector

Mistake: Treating a result as valid outside the described scope.

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

Limits and key assumptions

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