regex workbench

Regex Tester

Tune JavaScript patterns, scan pasted text, and inspect every match, capture, and named group in copy-ready panels.

Expression

/(?<word>[a-z]+)-(\d+)/gi

Flag toggles
Match cap100

2 lines / 39 chars

Press Control Enter or Command Enter from the editor to run the regex.

Matches

ready

Ready to scan

Run the expression to get match counts, capture groups, snippets, and copyable output.

Related tools and guides