Regex Tester
Test regular expressions against text. See matches, capture groups, and flags (g, i, m, s).
About this tool
Enter a regex pattern and test string. Use g for all matches, i for case-insensitive, m for multiline, s for dotall. Invalid patterns show an error; valid ones list match index, full match, and capture groups.
For flavor comparison and step-by-step debug: regex101.com.
Flags:
Click "Test" to run the regex against the test string.
You might also need