I got the following text:
Code = ABCD123 | Points = 30 Code = ABCD333 | Points = 44
At the end, I want to removing anything except the Code, output:
ABCD123 ABCD333
I actually tried it withCode = | P.+
Code = | P.+
But I don't know how to get "