I have a very ugly database and one cell is multi-line (aka there are \n’s in a cell) it looks like this:
aaa-server-01
aaa-server-01.eth0
aaa-server-01.eth1
aaa-server-02
bbb-server-05.eth0
bbb-server-05.eth1
…you get the picture.
I have filtered the column and I’d like to get all the unique server names in separate columns…something like:
| aaa-server-01 | aaa-server-02 | bbb-server-05 |
Is this possible with the available nodes or should I script it?
Thanks for all little help in advance,
JT
Thanks for the quick response pigreco
Sorry, I wasn’t perfectly clear. I’d like to see a unique list of the server names only and not the elements…
Somewhere in the WF i should cut the .eth0 .eth1…etc off and then ungroup? I can do it but it seems a bit over-complicated.
In this short period since I’ve been using KNIME I noticed how powerful it is and I’m just wondering if there is a simpler way to do it.
the regex for the relevant part is: “^.{3}-server-[0-9]{2}”
What I need just a unique list of the servers, without the “eth[0-9]” part that I can just count