ToolfyToolfy
ValidatorsRegex Tester & Debugger

Regex Tester & Debugger

Build, test, and debug regular expressions interactively. Highlights all matches inline with clickable detail panels showing capture groups, named groups, and position. Auto-explains every token in your pattern (anchors, quantifiers, lookaheads, character classes, and more). Supports replace with group references ($1, $<name>) and extract with custom format templates. Includes a test-case suite to verify full-match, any-match, or no-match expectations. Supports all JavaScript regex flags: g, i, m, s, u.

Pattern
//
Test Input