--- title: "replace new line/tab()" slug: "string-replace-special-chars" updated: 2026-08-17T08:05:32Z published: 2026-08-17T08:05:32Z canonical: "docs.lobstersoftware.com/string-replace-special-chars" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # replace new line/tab() This function replaces line breaks (carriage return or newline) and tabulator characters in text **a** with replacement text **b**. ## Parameters | Parameter | Description | | --- | --- | | a | Text | | b | Replacement text | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | A[tab]B[NL]C | _ | A_B_C | **NOTE:** The strings "[tab]" and "[NL]" in the example are symbolic representations for better readability.