Offline Regex Tester, Debugger & Replace Preview
Test JavaScript regular expressions locally with live match highlighting, capture group inspector, find-and-replace preview, and common regex presets.
Live Highlighted Matches
| # | Index | Full Match | Capture Groups |
|---|---|---|---|
| 1 | 93 | [email protected] | — |
| 2 | 115 | [email protected] | — |
Frequently Asked Questions
Practical tips, formulas, and privacy details for using this tool.
Why test regex patterns offline instead of cloud regex sandboxes?
Developers frequently paste real server logs, customer emails, or API payloads into regex testers. Running 100% locally in your browser guarantees zero log leakage.
What do the g, i, m, and s regex flags do?
g matches all occurrences globally, i makes matching case-insensitive, m makes ^ and $ match start/end of every line, and s lets dot (.) match newline characters.
More Dev & AI Tools
Browse all 50 toolsEstimate prompt tokens and compare per-request, daily, and monthly API costs across Claude 5.5, GPT-6, Gemini 4, and DeepSeek V4.
Convert, beautify, minify, and validate JSON, CSV, and YAML locally in a dual-pane editor—safe for production configs and API payloads.
Mask emails, phones, IPs, credit cards, API keys, and custom terms into numbered placeholders before pasting into AI—then restore the AI's reply locally.