--- title: "Text Manipulation Connector | Lansweeper Platform" slug: "text-manipulation-connector" description: "Use the Text Manipulation connector in Lansweeper Flow Builder to join, match, replace, and transform text strings in your workflows." tags: ["Lansweeper Platform", "Flow Builder", "Automation", "Connectors"] status: "update" updated: 2026-11-19T22:10:55Z published: 2026-11-19T22:10:55Z canonical: "docs.lansweeper.com/text-manipulation-connector" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt > Use this file to discover all available pages before exploring further. # Text Manipulation Connector Note on third‑party tools We aim to provide accurate and helpful details about third‑party tools, but we can’t guarantee that this information is always complete or up to date. If you notice any discrepancies, feel free to share them in the feedback section below. For the most reliable information, please always refer to the third‑party tool’s official documentation. The **text manipulation** component allows you to perform common operations on some text. For example, you can join two or more text strings together with the **join** action, find text with the **match** action, replace strings with other strings within a piece of text with the **replace** function, and more. ## Actions ### Decode Base64 Convert the input string from base64 encoding | Input | Comments | Default | | --- | --- | --- | | Base64 Text | | | ### Encode Base64 Convert the input string or file to base64 encoding | Input | Comments | Default | | --- | --- | --- | | Text or file | | | ### Extract Substring Extract a substring from a string | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | | Slice start | The index on which to start the slice of the text. | | | Slice stop | The index on which to stop the slice of the text. | | ### Find & Replace Find and replace all instances of one substring with another | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | | Substring to find and be replaced | This is the substring that is to be replaced. | | | The substring to replace instances of 'find' with | The substring to replace instances of 'find' with. Can be a string or regular expression. | | ### Find & Replace Multiple Substrings Find and replace all instances of multiple substrings with another | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | | Replace With | Replace | | ### HTML Decode Decode HTML-encoded input string | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | ### HTML Encode Convert input string to HTML-encoded equivalent | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | ### Join Join strings together using an optional separator to form a single string. | Input | Comments | Default | | --- | --- | --- | | Strings | A set of strings to join together into a single string. | | | Separator | The separator to use to split or concatenate text. | | ### Join Lines Join strings together with a newline character | Input | Comments | Default | | --- | --- | --- | | Strings | A set of strings to join together into a single string. | | | Newline type | The type of newline to use. | | | Number of newlines | The number of newlines to insert. | 1 | ### Lower Case Convert the input string to lower case | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | ### Match Regex Match a string against a regular expression | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | | Regex | A regular expression to match against the text that is supplied. | | | Regex Flags | Flags to apply to the regular expression. For example, you can specify 'd' to ensure capture groups are returned. See [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions#advanced_searching_with_flags) for more information. | g | ### Remove Whitespace Remove leading and trailing whitespace from a string | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | ### Split Lines Split a block of text on newline characters (\n) | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | | Filter Blank Lines | Filter blank lines (like trailing newlines) | true | ### Split String Split a string into a list of strings on a separator character | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | | Separator | The separator to use to split or concatenate text. | | ### String Length Get the length of a string | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | | ### Upper Case Convert the input string to UPPER CASE | Input | Comments | Default | | --- | --- | --- | | Text | This is the text to manipulate | |