Hi guys,

I have an expression that I need to clean up. It's pullled out from a feed and it's like this:

field1,field2|field3,field4

but it also can be:

field1,field2,field3|field4

or like this:

field1|field2,field3,field4

In either 3 cases, I want only everything before the "|" and forget this and the rest of the line...

How to do this?

Thanks for the help.