![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Display html in plaintextby Spida (Acolyte) |
on Oct 09, 2002 at 12:59 UTC ( #203910=perlquestion: print w/replies, xml ) | Need Help?? |
Spida has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to parse mails in a perl-script (see http://www.perlmonks.org/index.pl?node_id=203907) and add the contents in a db (and display it in a webfrontend), but occasionally (and getting more frequent) mails have the text in a html attachment. To display the contents even if the mail is in html, I'm looking for something that would - strip out all html-tags (no problem, looking for \< and \>) - let a bit of the formatting be visible There was such a tool which tried to keep even tables, but I didn't find anything promising. Please help.
Back to
Seekers of Perl Wisdom
|
|