Removing spaces in Excel

Hello Everyone,

I have used all methods like Trim, Substitute and clean to replace the spaces with empty character but failed.

Please find the attached excel file with the sheet name : Sheet1 and Column L

Can some one please help me on this to remove all spaces within excel.RemoveSpaces.xlsx (9.2 KB)

Thanks a lot in advance.

Regards
VishnuRemoveSpaces.zip (20.5 KB)

Hi @winningvish

Use assign dt.columnname(“column name”).expression=row(“column name”). ToString.trim

Thanks
Ashwin.S

@winningvish
use Replace regular expression
please find attached workflow.

Test.xaml (8.4 KB)

5 Likes

@winningvish
let me know its worked for you?

Thanks

1 Like

Thank you so much Sandeep it worked.

Implemented the same logic in the actual work flow I am working on.

Regards
Vishnu

1 Like

Hi Sandeep,

how I can I get only the numbers from the string using regex?

Regards
Vishnu

@winningvish

this post may be help you

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.