Skip to content
DDevToolery

Regex Extractor

Pull every match or capture group out into a list.

Loading tool…

About this tool

Pulls every match out of a body of text as a list, optionally using capture groups to extract only part of each match. Useful for lifting identifiers, emails or URLs out of logs.

Questions

How do I get just part of each match?
Wrap the part you want in parentheses. When the pattern has capture groups, the extracted values come from the groups rather than the whole match.

Privacy

This page does its work in your browser. What you paste is processed by JavaScript running on your own device and is never sent to a DevToolery server — there is no server that could receive it. The page itself is a static file delivered by a CDN. See exactly what is stored.