I have a table and I need to split characters within a table in easy way
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]q1[/TD]
[TD]q2[/TD]
[TD]q3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0301|0303|0307[/TD]
[TD]07065|07567[/TD]
[TD]090861|090862|090863|090864|090865|090867|090869[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0301|0303|0307|0308[/TD]
[TD]07565|07567|07569[/TD]
[TD]090861|090862|090863|090864[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0301|0302[/TD]
[TD]07457|07458[/TD]
[TD]090861|090862[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0301|0302|0304|0309[/TD]
[TD]07457|07458|07459[/TD]
[TD]090861|090862|090863|090864|090865|090867|090870[/TD]
[/TR]
</tbody>[/TABLE]
it should become like this
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]q1[/TD]
[TD]q2[/TD]
[TD]q3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0301[/TD]
[TD]07065[/TD]
[TD]090861[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0303[/TD]
[TD]07567[/TD]
[TD]090862[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0307[/TD]
[TD][/TD]
[TD]090863[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090864[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090865[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090867[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090869[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0301[/TD]
[TD]07565[/TD]
[TD]090861[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0303[/TD]
[TD]07567[/TD]
[TD]090862[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0307[/TD]
[TD]07569[/TD]
[TD]090863[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0308[/TD]
[TD][/TD]
[TD]090864[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0301[/TD]
[TD]07457[/TD]
[TD]090861[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0302[/TD]
[TD]07458[/TD]
[TD]090862[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0301[/TD]
[TD]07457[/TD]
[TD]090861[/TD]
[/TR]
</tbody>[/TABLE]
and so on
Please advice the easy way!
Many thanks
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]q1[/TD]
[TD]q2[/TD]
[TD]q3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0301|0303|0307[/TD]
[TD]07065|07567[/TD]
[TD]090861|090862|090863|090864|090865|090867|090869[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0301|0303|0307|0308[/TD]
[TD]07565|07567|07569[/TD]
[TD]090861|090862|090863|090864[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0301|0302[/TD]
[TD]07457|07458[/TD]
[TD]090861|090862[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0301|0302|0304|0309[/TD]
[TD]07457|07458|07459[/TD]
[TD]090861|090862|090863|090864|090865|090867|090870[/TD]
[/TR]
</tbody>[/TABLE]
it should become like this
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]q1[/TD]
[TD]q2[/TD]
[TD]q3[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0301[/TD]
[TD]07065[/TD]
[TD]090861[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0303[/TD]
[TD]07567[/TD]
[TD]090862[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]0307[/TD]
[TD][/TD]
[TD]090863[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090864[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090865[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090867[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]090869[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0301[/TD]
[TD]07565[/TD]
[TD]090861[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0303[/TD]
[TD]07567[/TD]
[TD]090862[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0307[/TD]
[TD]07569[/TD]
[TD]090863[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]0308[/TD]
[TD][/TD]
[TD]090864[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0301[/TD]
[TD]07457[/TD]
[TD]090861[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]0302[/TD]
[TD]07458[/TD]
[TD]090862[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]0301[/TD]
[TD]07457[/TD]
[TD]090861[/TD]
[/TR]
</tbody>[/TABLE]
and so on
Please advice the easy way!
Many thanks