Bulk Regex Extractor & Replacer
Hunt IPs, API keys, emails and URLs across many logs or code files. Preview matches with real JS RegExp flags, extract a merged findings report, or download rewritten copies — all processed locally in your browser.
Runs on JSZip
How to Use the Bulk Regex Extractor & Replacer
Similar Tools You Might Need
See allRegex Tester
Write, test and highlight JavaScript RegExp patterns against sample text in real time. Optional AI-assisted generation sends only your description to a cloud model (1 credit/use); manual matching stays local and free.
Log File Analyzer
Summarize pasted logs — line totals, level counts, error rate, HTTP statuses, top IPs and URLs. Local parsing, free, no signup.
API Payload Analyzer
Inspect a JSON API payload for byte size, total keys, nesting depth and top-level type. Understand response shape before you paste it into a bug report or log.
Bulk QR Code Generator
Turn a CSV of URLs or text into styled QR PNGs in one batch — event badges, inventory labels, menus. Free sign-in includes 2 generations a day (up to 5 QR each); Pro runs up to 100 per batch — local qrcode work.
YAML ↔ JSON Converter
Bidirectional YAML to JSON and JSON to YAML conversion with auto-format detection and real-time preview. Perfect for configuration files, API payloads, and data migration.
Frequently Asked Questions
Extract or replace mode — which?
Extract harvests matches into per-file outputs and a merged findings report. Replace downloads rewritten copies with a -replaced.txt suffix; original files are never modified. Preview hits first and check a few results before sharing.
What pattern finds leaked secrets?
Use (api[_-]?key|secret|token)\s*[:=]\s*['"]?\S+ with the i flag for keys and \b[\w.-]+@[\w.-]+\.\w+ for emails. JavaScript RegExp has no (?i) prefix — put i in the Flags field. Run extract-only first, eyeball 20 hits for false positives, then tighten before any replace pass.
Which file types process safely?
Text files such as .txt, .md, .csv, .log, .json, .yaml, .js, .py, .sql, .html, .xml, .ts and .css. Binaries and archives are skipped with a clear error instead of being silently mangled.
Are my logs and code uploaded?
No — matching runs locally in your browser with the JS RegExp engine; sensitive logs never leave your device. Only result saves use the standard download gate.
What are the defaults and output filenames?
Mode defaults to extract and flags default to g: extract joins matches with newlines into <name>-extracted.txt, replace applies text.replace into <name>-replaced.txt. Without g, replace changes only the first hit, as JavaScript does. Guests batch 5 files, signed-in free users 25, and Pro up to 500.
Related Developer Tools
Regex Tester
Write, test and highlight JavaScript RegExp patterns against sample text in real time. Optional AI-assisted generation sends only your description to a cloud model (1 credit/use); manual matching stays local and free.
Secret Scanner
Scan text and code for leaked secrets and credentials. Detects Stripe keys, GitHub tokens, Slack tokens, Google API keys, AWS keys, OpenAI keys, JWT tokens, private keys, and config passwords.
Last updated October 2026