Capture groups are the workhorse of regex: they let you extract specific parts of a match for further processing. But nested groups, non-capturing groups, and named groups can produce confusing results when you are not sure which group number maps to which part of your pattern. This tester highlights each capture group distinctly, showing you the group index, name if any, and the exact text it captured, making complex extraction patterns much easier to debug.
Test regular expressions with live, highlighted match feedback.
hello@example.com$1 hello$2 examplesupport@test.com$1 support$2 testPowered by ToolboxHub
g for all matches, i for case-insensitive, m for multiline.