Skip to main content
Regex Tools
Recently added

Regex Debug

Step through regex matches with a per-character position map.

Introduction

Regex Debugger visualizes match positions to help troubleshoot patterns beyond a simple tester.

Features

  • Match list
  • Position map
  • Flag toggles

How to use

  • 1
    Enter pattern and input.
  • 2
    Read the debug report.

Example

Words

Input
\b(\w+)\b
Output
match list + map

Benefits

  • Use Regex Debug without installing a desktop app or browser extension.
  • Works well alongside Regex Tester and Regex Explainer for adjacent steps in the same workflow.
  • Results stay in this browser tab until you copy or download them.

FAQs

This maps match results, not a full NFA backtracking trace.

No.

Use Regex Tester for quick replace experiments.

Pair Regex Debug with Regex Tester, Regex Explainer, Regex Cheatsheet. See Related tools on this page.


Developer resources