Hi. I have a similar problem. Have tried to modify the attached demon, but I can not get it to work.
I want to extract "Quantity" which is always between the 1st and 2nd "|" and "id" which is always between the 4th and 5th "|".
The text field is this:
Item_name1|Quantity1|Price1|Tax1|Id1|Item_name2|Quantity2|Price2|Tax2|Id2|Item_name3|Quantity3|Price3|Tax3|Id3|
Thanks in advance!