This may not be helpful at all, but if you have any control over the format of your input file I would suggest you investigate using DocBook.
In reply to Re: convert text to HTML Format Table.
by Plankton
in thread convert text to HTML Format Table.
by perlsen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |