Regex Split Tool
Split text on a regex delimiter and see the resulting parts in a numbered list.
Results
Enter text and a delimiter, then click Split Text.
Summary
Split text on a regex delimiter and see the resulting parts in a numbered list.
How it works
- Paste or type your input text into the Text Input field.
- Enter a regular expression in the Delimiter (Regex) field.
- Optionally toggle flags like case-insensitive (i) or multiline (m).
- Results appear instantly as a numbered list of the split parts.
- Empty parts are shown with a muted label so you can count them accurately.
- Click any part to copy it to your clipboard.
Use cases
- Split a log file line on whitespace or a custom separator.
- Parse delimited data such as CSV or TSV strings.
- Tokenize source code snippets for analysis.
- Extract segments from URLs or file paths.
- Test a regex delimiter before using it in production code.
- Split sentences on punctuation marks to count word groups.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu