Regex Tester
Test Python-style regular expressions against a test string interactively.
Learn more
Enter a regex pattern and test string; get matches, capture groups, and indices.
Learn regex syntax by experimenting and seeing live results.
- Debug and refine regex patterns.
- Learn regex syntax interactively.
- Validate patterns before using in code.
How it works
- Enter a regex pattern and text to test.
- Tool evaluates all matches and capture groups.
- Output displays matches, indices, and detailed results.
Related tools
Example
Input
Output