Skip to content
Run here 100% in your browser, no upload, no login

Regex Extractor

Extract every regex match with capture groups, dedupe them and export the table as CSV.

How to use it

  1. Paste the text to scan into the left panel.
  2. Enter a regular expression and any flags (g is pre-filled; add i for case-insensitive, m for multiline).
  3. Click Extract (or keep typing) and read the match table on the right; each capture group gets its own column.
  4. Tick Remove duplicate matches to collapse repeated values, then Copy or Download the result as CSV.

Common use cases

Why it stays private

Matching runs entirely in your browser's memory using the built-in regular expression engine. Nothing is uploaded, no account is needed, and no network request is made, so scanned text never leaves your device.

FAQ

Q: What does the flags field accept? A: Standard JavaScript regex flags: g for all matches, i for case-insensitive, m for multiline anchors, s for dot-all, u for unicode and y for sticky. Without g, only the first match is reported.

Q: How does duplicate removal work? A: When enabled, rows whose full match text was already listed are skipped. Capture groups are not compared separately - two rows with identical match text collapse into one.

Q: What ends up in the CSV file? A: A header row (match, group1, group2, ...) followed by one row per match, with fields quoted per the usual CSV rules. Missing groups export as empty cells.

Your data stays on this device

Regex Extractor runs 100% locally. Everything you paste or drop is processed by your own browser and never transmitted. Nothing is stored on our servers — close the tab and it is gone.

Nothing you type is sent to a server, logged, or used for analytics. The page works even with your network disconnected after first load.