Regex Splitter

Regex Splitter is a free online tool that tests, highlights, escapes, splits, and extracts matches using regex splitter 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.

100% client-side execution with zero uploads or accounts.

Technical specs

Category
Developer
Formats
RegExp, Plain Text, JSON
Runtime
100% client-side execution with zero uploads or accounts.
Engine
regex-suite
MCP
regex_test

How to use: Regex Splitter

  1. Enter a regular expression pattern, flags (g, i, m, s, u), and sample text into Regex Splitter.
  2. Inspect highlighted matches, capture groups, split tokens, or escaped literals live.
  3. Copy the verified pattern, extracted matches, or match JSON output.

Frequently asked questions

Which regex flags are supported in Regex Splitter?
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.

Related tools