Regex tester & match inspector

Evaluate regular expressions in real-time with visual match highlighting, flag toggles, named capture groups, and regex substitutions.

/ /
01 / SECURITY

Catastrophic Backtracking (ReDoS)

Nested quantifiers like (a+)+$ cause exponential \(O(2^n)\) runtime complexity on non-matching inputs. In high-throughput Node.js microservices or API gateways, unvetted regexes freeze the single-threaded event loop. Always benchmark and bound untrusted regex evaluations.

02 / MODERN ES2018+

Named Capture Groups

Replace fragile positional indices ($1, $2) with named capture groups: (?<id>\d+). In code and substitutions, reference them by name (match.groups.id, $<id>) to prevent breaking parser regressions when pattern structure evolves.

03 / IN-BROWSER PRIVACY

Client-Side Execution

All regex compilation and evaluations run in your local browser JavaScript engine (V8 / JavaScriptCore). Sensitive API tokens, logs, and configuration files are never dispatched across the network.