Boris Klug <bklug@abo.rhein-zeitung.de> said: > So I need a script to converts HTML to Text. This means: > > 1) Remove html tags > 2) Convert entities > 3) Convert line breaks > 4) Convert some tags to text meanings (e.g. <B>bla</B> to _bla_) > 5) Convert tables You might look at the droplet version of Sam Choukri's 'Tablemaker', available at: http://www.missouri.edu/~wwwtools/tablemaker/tablemaker-application.html I think this actually does the *reverse* of what you want to do (i.e., it converts text *TO* html); it may at least give you an idea of how to do what you want, though. Just think backwards 8-) tpg -- Tim Guinn | guinn@mail.utexas.edu LAN Administrator | http://www.utexas.edu/admin/purchasing/ UTexas @ Austin Purchasing | v 512.471.2855 f 512.471.7745