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

  1. Paste or type your input text into the Text Input field.
  2. Enter a regular expression in the Delimiter (Regex) field.
  3. Optionally toggle flags like case-insensitive (i) or multiline (m).
  4. Results appear instantly as a numbered list of the split parts.
  5. Empty parts are shown with a muted label so you can count them accurately.
  6. 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