> ## Documentation Index
> Fetch the complete documentation index at: https://domoinc-openapi-sync-dataflows.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Removing White Space from Text Strings

You can use Magic ETL to remove spaces from text strings.

**To remove spaces from text strings,**

1. Open Magic ETL.

2. For your input DataSet, select the DataSet you want to remove spaces from.

   <Frame>
     <img alt="df_removewhitespace_1.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/KCcJNfmszCLwcqSc/images/kb/ka05w00000123is-00N5w00000Ri7BU-0EM5w000005vOv4.png?fit=max&auto=format&n=KCcJNfmszCLwcqSc&q=85&s=71b2e839659573502f1a717f54438a09" width="623" height="459" data-path="images/kb/ka05w00000123is-00N5w00000Ri7BU-0EM5w000005vOv4.png" />
   </Frame>

3. Add a "Replace Text" tile.

4. Under **Select a column to search**, select the column you want to remove spaces from.

5. Under **Enter a term to search for**, enter \s.

   <Note>
     **Note:** In RegEx \s is the expression for whitespace.
   </Note>

6. Check the box reading **Use RegEx**.

   <Frame>
     <img alt="df_removewhitespace_2.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/KCcJNfmszCLwcqSc/images/kb/ka05w00000123is-00N5w00000Ri7BU-0EM5w000005vOvD.png?fit=max&auto=format&n=KCcJNfmszCLwcqSc&q=85&s=8fd11faeb75e319254c3d425194661f4" width="624" height="406" data-path="images/kb/ka05w00000123is-00N5w00000Ri7BU-0EM5w000005vOvD.png" />
   </Frame>

7. Repeat steps 4-6 for all columns that need to be corrected.

8. Click **Done**.

9. Add an output DataSet and name it.

   <Frame>
     <img alt="df_removewhitespace_3.png" src="https://mintcdn.com/domoinc-openapi-sync-dataflows/KCcJNfmszCLwcqSc/images/kb/ka05w00000123is-00N5w00000Ri7BU-0EM5w000005vOtm.png?fit=max&auto=format&n=KCcJNfmszCLwcqSc&q=85&s=619f7af771b4f507060cd5e8725da069" width="623" height="446" data-path="images/kb/ka05w00000123is-00N5w00000Ri7BU-0EM5w000005vOtm.png" />
   </Frame>

Your output DataSet should incorporate the changes.
