Can you give us an example with real text. I do not think you need a script...
1 person found this helpful
So, Transform the header rows in current rows. Add a column before the actual column 1 (we have now 3 columns) and add a column between the column 2 and 3 (we have now 4 columns). Copy the row "Header 1" in all the rows of the column 1 and the row "Header 2" in all the rows of the column 3. Then convert the table in Text.
Just finish by a grep research: search Tab and replace by \r.
The columns trick works great! Thank you, Obi-Wan Kenobi!