Hi All, I need one more help in string manipulation.. I am having a line as follows:

variable (x1|y1|z1)(x2||z2)(x3|y3|z3)

From this I need to take values and store in lists like

xList = [x1, x2, x3]

yList = [y1, 0, y3]

zList = [z1, z2, z3]

Please help me to acheive this.. Thanks..