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
- 1Enter your regex pattern (the delimiter)
- 2Add a line with ---, then your text
- 3Click Process
- 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
Regex Tester
Test a regex pattern against sample text and see every match, using the real JavaScript regex engine.
Regex Debugger
Test a regex against sample text and see each match with its index position and any named/numbered capture groups.
Regex Replace
Run a real find-and-replace on text using a regex pattern and replacement string.
Regex Reference
View a reference sheet of common regex patterns and syntax basics — the same static content as the Regex Generator tool.