Test regular expressions against any input with live match highlighting; see capture groups, match indices, match count, and replacement output as you type. Visualize patterns as railroad diagrams, get token-by-token explanations, check for catastrophic-backtracking (ReDoS) risk, and browse a curated pattern library.
Test regular expressions against any input with live match highlighting; see capture groups, match indices, match count, and replacement output as you type. Visualize patterns as railroad diagrams, get token-by-token explanations, check for catastrophic-backtracking (ReDoS) risk, and browse a curated pattern library.
Enter your pattern and flags, then type a test string. Matches and capture groups are highlighted live as you type.
Yes. The tool breaks a pattern down token by token and includes a searchable library of common ready-made patterns.
Enter your pattern and sample text and matches are highlighted as you type, with capture groups, named groups and the replacement output.
The tool checks a pattern for catastrophic-backtracking risk, such as nested quantifiers, and warns you if it looks risky. Treat it as a heuristic and test with real inputs too.
Yes, it gives a token-by-token explanation and can draw the pattern as a railroad diagram.
Yes, there is a curated pattern library with ready-made patterns such as email, URL, IP and phone number.
Yes, you can use named capture groups and see the substitution output live.
No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.