Paste a regex and a test string, then step through the match process to see exactly what the engine does at each position.
How to use
- Enter a regex pattern and optional flags (
g,i,m) - Enter a test string
- Click Analyze to see:
- A breakdown of every token in your pattern
- All matches highlighted in the test string
- Captured groups for each match
- A character-by-character walkthrough of each match
When this helps
- Learning regex by seeing what each part does
- Debugging why a pattern matches (or doesnβt match) a specific string
- Understanding capture groups and their contents
Related resources
Related: Code Review React Component