Regex Escape
Regex Escape is a free online tool that tests, highlights, escapes, splits, and extracts matches using regex escape in real time. It supports RegExp, Plain Text, JSON inputs and outputs using JavaScript RegExp engine with flag controls with live previews and instant export. All processing runs locally inside your browser tab with zero server uploads, no sign-up, and full offline support, plus direct AI agent access via the regex_test MCP tool.
Formats: RegExp, Plain Text, JSON
How to use Regex Escape
- Enter a regular expression pattern, flags (g, i, m, s, u), and sample text into Regex Escape.
- Inspect highlighted matches, capture groups, split tokens, or escaped literals live.
- Copy the verified pattern, extracted matches, or match JSON output.
FAQ
- Which regex flags are supported in Regex Escape?
- It supports global (g), case-insensitive (i), multiline (m), dotAll (s), and Unicode (u) flags.
- Can I view numbered capture groups and match indices?
- Yes. Every match lists its full text, character offset, and individual capture groups.
- Are sample logs or strings kept private?
- Yes. Pattern evaluation uses your browser's native RegExp engine with zero server requests.