Regex Split Tool
Split text on a regex delimiter and see the resulting parts in a numbered list.
Use the Regex Split Tool
Results
Enter text and a delimiter, then click Split Text.
Summary
The Regex Split Tool lets you enter any regular expression as a delimiter and instantly splits your input text into a numbered list of parts. It works entirely in your browser with no data sent to any server. Useful for developers parsing log lines, CSV-like data, or any structured text.
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).
- Click "Split Text" to view the split parts in a numbered list.
- 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-05-23 · Reviewed by Nham Vu