Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Suraj_Kendre
Contributor II
Contributor II

Unwanted data remove

Hello,

I have CSV file data. In the data, I want to remove all [[ ]].

Please help with it.

Suraj_Kendre_0-1715941020460.png

 

Labels (1)
1 Solution

Accepted Solutions
igoralcantara
Partner - Specialist
Partner - Specialist

In the load script, for each field you're loading, use one of these options:

 

Option 1: If all rows have the [[]]:

TextBetween(Mach, '[[', ']]') As Mach

 

Option 2:

Replace(Replace(Mach, '[[', ''), ']]', '') as Mach

 

Just adapt to your load script and to each field and you're good.

Check out my latest posts at datavoyagers.net

View solution in original post

2 Replies
igoralcantara
Partner - Specialist
Partner - Specialist

In the load script, for each field you're loading, use one of these options:

 

Option 1: If all rows have the [[]]:

TextBetween(Mach, '[[', ']]') As Mach

 

Option 2:

Replace(Replace(Mach, '[[', ''), ']]', '') as Mach

 

Just adapt to your load script and to each field and you're good.

Check out my latest posts at datavoyagers.net
BrunPierre
Partner - Master
Partner - Master

Use PurgeChar() like

=PurgeChar(Mach, '[[]]')