Skip to content
Toolbento

Regex match extractor

Pull every regex match or capture group out of a text into a list, or split text on a pattern.

Everything stays on this device

Regex match extractor runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Mode

Missing a feature or found a bug in Regex match extractor? Tell me on X (@_andrewtran) or by email.

How to use Regex match extractor

  1. Type a pattern and its flags.
  2. Paste the text to search.
  3. Copy the list of matches, one per line.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

How do I get one capture group?

Set Group to its number. Group 0 is the whole match, group 1 is the first pair of brackets in the pattern.

What does Split text do?

It cuts the text wherever the pattern matches and lists the pieces. A pattern of commas and spaces turns a list into lines.

Esc

Loading tools