Regex

Regex Capture Group Tester

Inspect JavaScript regex capture definitions, non-capturing groups and lookarounds alongside per-match capture values.

Keep this tool in your workbenchReport a problem

Loading JavaScript Regex controls…

What does this tool do?

Inspect JavaScript regex capture definitions, non-capturing groups and lookarounds alongside per-match capture values. Code Station Regex tools use the JavaScript regular expression engine. Inputs: Regex Pattern, Test text, Flags. Outputs: Group definitions, Match captures.

How to use it?

Enter a pattern with groups or lookarounds and test text. Definitions and captured values appear separately. Choose “Test capture groups”, then copy individual result values if needed. Clear removes all inputs and results and restores option defaults.