Split Text Tool

Welcome! Here you can use this tool to split any text you enter. It supports splitting by character, regex, and text length. This split text tool also doubles as a Join Text tool; just input your lines, and use “Regex” split method, separated by newline (\n) (On Windows use \r\n), and the delimiter to be whatever you’d like it to be.

How to use split text tool

In the “Text to split” box, you type the input text that is going to be split. You can expand he text area by dragging the lower righ corner if you want.

In “Split method”, you have three options: Regex, which will split by a regular expression pattern (see below), Character, which will split using a sequence of characters as a delimiter, and Length, which will split the text into fixed-length strings.

You type the splitting expression in the third input: “Splitting text”.

Last is a text input for the delimiter for separating the text to reverse. You see, you don’t only have to use newlines as the separator, but it is the default choice, because 99% of people want to separate newline-delimited text. You can use any character like space, tab, and even multiple characters at once!

Beware – if you are on Windows, you probably want to use \r\n to separate lines. Particularly if you typed those lines yourself.

What is Regex?

Regex, or as some people UNIX hackers call it, Regexp, is a very unintelligible and crazy sequence of characters that people type when they want to match a bunch of other characters in a text that has a certain pattern.

If none of that makes sense to you, don’t worry. It didn’t make sense to me either. But we don’t use the full regex here. We only use a subset of the regex characters below.

Newline (\n), Carriage Return (\r), and Tab (\t) escape codes are recognized in the delimiter.

And please, don’t even think about trying to exploit ther regex matcher, or I’ll call the FBI.

Subscribe our latest updates

Don't miss out. Be the first one to know when a new guide or tool comes out.

Subscription Form

Support Us ❤

Creating learning material requires a lot of time and resources. So if you appreciate what we do, send us a tip to bc1qm02xguzxxhk7299vytrt8sa8s6fkns2udf8gjj. Thanks!