Regex Extractor
Extract every regex match with capture groups, dedupe them and export the table as CSV.
How to use it
- Paste the text to scan into the left panel.
- Enter a regular expression and any flags (g is pre-filled; add i for case-insensitive, m for multiline).
- Click Extract (or keep typing) and read the match table on the right; each capture group gets its own column.
- Tick Remove duplicate matches to collapse repeated values, then Copy or Download the result as CSV.
Common use cases
- Harvesting structured data - pull emails, dates, order numbers or URLs out of logs, dumps and pasted emails.
- Auditing content - list every link, price or placeholder token in a document before publishing.
- Feeding spreadsheets - export matches as CSV with one column per capture group, ready to open in any spreadsheet app.
- Learning regex - see exactly what a pattern with groups returns, match by match.
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.