I have a csv file data.csv with below file content(| delimited)
A|B|X|Y|Z
S|T|U|V|W|X
I want to parse this file to print the data in below format(1st two columns constant and third column split by | and generate new row
A|B|X
A|B|Y
A|B|Z
S|T|U
S|T|V
S|T|W
S|T|X