Regex and pattern tools
Three pages, one job: see if a pattern matches, where, and which groups it captured. Prefer Regex Tester as the canonical UI; Match Debugger adds indexes; Pattern Validator is the glob-oriented sibling.
Patterns run as JavaScript regex (or glob conversion). They are not PCRE, not .NET, and not a replacement for unit tests in your language. ReDoS-prone patterns can hang the tab — keep samples short.
Test, validate & debug(3)
Regex TesterTest regular expressions against text. See matches, capture groups, and flags (g, i, m, s).Pattern ValidatorValidate glob patterns and test paths. See which paths match (e.g. src/**/*.ts, *.json).Match DebuggerDebug regex matches: see start index, end index, length, and matched text for each match.
FAQ
- Which page should I bookmark?
- Regex Tester. The other two wrap the same test API with different labels.
- Can I test Python or Go regex here?
- No. Flavor differences (lookbehind, named groups) will lie. Use this for JS/Node and glob paths only.