If your brand-name doesn’t contain white spaces, than the Cell Splitter is the way to go. Otherwise a different solution is needed. Does any of your brandnames in the list contains white space?
gr. Hans
Hi @AndreP , also can a brand name contain another brand name?
For example:
Native Instruments
Instruments
If this can happen, then the order of the replace is important.
EDIT: One more thing, can a record contain more than 1 brand?
In the mean time, I put something together based on the data that you showed, and results as follows:
Workflow looks like this:
Assumptions:
no brand name contained in another brand name
Note: Doing it this way (only works with the above assumption), it does not matter if a record contains more than 1 brand. If it’s done another way, it might matter to know.
Note: The requirement was “to search each of the brands and replace it with nothing”, which is what the workflow is doing. However, that means that there will be a space at the beginning if the brand was at the beginning, since the records are . So replacing with nothing results in . If you want to remove the space at the beginning, you can just use the strip() function and add it to my string manipulation:
Change from regexReplace($column1$, $${SConcatenate(column1)}$$, "")
to strip(regexReplace($column1$, $${SConcatenate(column1)}$$, ""))
thank you very much for your help.
The solution is very close to what I need.
Only one thing are not perfect.
So I wanted to consider the beginning of the string and the space at the end of the brand, so that I am 100% sure that it only deletes the brand at the beginning of the string.
My plan was to search for “Steinberg *” and replace it with “”.
EDIT 2: Did not notice that you added Izotope as a text to be removed. It’s just data, so it does not change the logic of the workflow, but just to show that the same workflow works as expected when adding Izotope, here’s the result:
Hi @AndreP , ahhhh, I thought you meant to remove the double spaces. OK, I got it now, so you only want to remove the brand if it’s at the beginning.
Please mark it as Solution if it works for what you’re looking for, so that other users can see the solution quickly, and the thread can close sooner.