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.

纯浏览器本地计算,文件零上传、无需账号。

技术规格

Category
开发工具
Formats
RegExp, Plain Text, JSON
Runtime
纯浏览器本地计算,文件零上传、无需账号。
Engine
regex-suite
MCP
regex_test

使用步骤: 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.

常见问题

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.

相关工具