Developer ToolsDebugging ToolsFree Tool

Regex Split

Split text into parts using a regex pattern as the delimiter, and see each resulting piece.

How to Use Regex Split
  1. 1Enter your regex pattern (the delimiter)
  2. 2Add a line with ---, then your text
  3. 3Click Process
  4. 4Review the numbered list of resulting parts
Frequently Asked Questions

Your regex pattern, then a line with just ---, then the text to split.

Yes — it calls JavaScript's native String.split() with your regex as the delimiter, so the results reflect genuine split behavior, including how capture groups in the pattern affect the output array.

You'll get exactly one part back — the original string unchanged, since no split points were found.

No — the split happens entirely in your browser.

Related Tools

Related Articles

More from Developer Tools