Text Splitter

Oct 10, 2021

Text Splitter is a tool to split any text or string into multiple lines by a delimiter of your choice



Input: Text



Settings

Line Merger

Join lines of string by removing line breaks or newlines and adding a delimiter (default space) of your choice between each line

View Tool

Sometimes you need to split text using a delimiter such as space, comma, semicolon, colon, etc. This tool allows you to do that by letting you choose the delimiter you want.

Settings Explained
  • 1. Split Type

    Use this setting to select the type of split to perform. You can choose between:-

    Symbol

    The character you specify here splits the input text. For example, if you select the comma character, a new chunk is created every time we find a comma. You can even specify multi-characters such as a comma followed by a space.

    Regex

    The regular expression specified here splits the input into chunks. Use this to do things like extract words from a paragraph of text. Consider the following input: Hola! This right here, is a paragraph of text.

    The regex: [.,;!?\s]+ will give the following output
    Hola
    This right here
    is a paragraph of text
    Length

    This setting splits text into chunks of the specified length. The last part can be smaller than this length.

  • 2. Symbol

    The character(s) to split the text by (default is space)

  • 3. Regex

    The regular expression to break the text by (default is multiple spaces)

  • 4. Length

    Splits text at the exact length you specify here. The last chunk can be smaller than this length.

  • 5. Output Delimiter

    The character to be placed between each output chunk (default is newline)

  • 6. Chunk Prefix

    The string to add before each chunk

  • 7. Chunk Postfix

    The characters to add after each chunk

  • 8. Remove Empty

    Removes empty values when you turn on this option

Comments 0

History
Oct 10, 2021
Regex & length split, output delimiter, prefix and postfix support
Jun 19, 2018
Tool Launched