Regex

Regex Match Inspector

Inspect each JavaScript regex match with numbered cards, exact text, start and end offsets, length and groups.

Keep this tool in your workbenchReport a problem

Loading JavaScript Regex controls…

What does this tool do?

Inspect each JavaScript regex match with numbered cards, exact text, start and end offsets, length and groups. Code Station Regex tools use the JavaScript regular expression engine. Inputs: Regex Pattern, Test text, Flags. Outputs: Match list, Match positions, Match lengths, Capture groups.

How to use it?

Enter a JavaScript pattern and test text, then choose flags for the matches to inspect. Choose “Inspect matches”, then copy individual result values if needed. Clear removes all inputs and results and restores option defaults.