I have a bunch of html files and you need to convert and format them to text using perl ie somthing like <br/>will interact with\n
I found this perl module in cpan html :: formattext, which formats the text well, but if there is a link, is there an HTML :: FormatText option to format html as there is text, but when there are such links
<a href="http://www.microsoft.com>http://www.microsoft.com</a>
Here is something like this:
<br /><b>Microsoft</b><br /><a href="http://www.microsoft.com>`
will be converted to:
microsoft
http://www.microsoft.com
smith source
share