Loading...

Regex Capture Groups Inspector & Tester Online

Visualize numbered ($1, $2) and named (?<name>) regex capture groups with exact string slices and match index offsets.

Key Technical Capabilities

  • Named Group MappingShows key-value mappings for (?<year>\d{4}) syntax.
  • Boundary HighlightingColor codes matched spans in the test string.

How to Inspect Capture Groups

  1. Enter Pattern with GroupsType regex containing parentheses.
  2. Inspect Group TableReview extracted group table below.

Frequently Asked Questions

Are non-capturing groups (?:) excluded?
Yes, non-capturing groups are properly omitted from group tables.