To be honest I would suggest that you start with something tried and tested like txt2html which has seemingly been around for ever, you may need to make some adjustments to the output but it generally seems to do the right thing.
/J\
In reply to Re: Replacement and conversion of flat file text documents
by gellyfish
in thread Replacement and conversion of flat file text documents
by imhotep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |