I have a requirement to concatenate multiple lines of data into a single line. The only indexation that multiple lines belong together on a single line is "^" at end of the last line. Please see example below. I have tried solutions in a transformer stage variables with no success. Any help/advise would be greatly appreciated.
**Example**
Input:
name age address
John|43|1015 main street
Queens
New York 10035 ^
Jackie|51|1015 main street Queens New York 10035 ^
James|50|10 Court LN
Raleigh
North Carolina 12045 ^
Desired Output:
name age address
John|43|1015 main street Queens New York 10035 ^
Jackie|51|1015 main street Queens New York 10035 ^
James|50|10 Court LN Raleigh North Carolina 12045 ^