How to convert html from emails into text?
Posted: Fri Dec 22, 2023 9:30 pm
Hi,
I'm converting a whole bunch of Thunderbird emails into eml files, then into .csv, then into Excel, the into DBf format.
I've done all this so far, but of course the body of the email is littered with html codes.
How can I strip all the html out, and leave only text? I can probably replace <br> with character returns and line feeds, but I'd like to strip out all of the html in each body memo field into text.
I'm converting a whole bunch of Thunderbird emails into eml files, then into .csv, then into Excel, the into DBf format.
I've done all this so far, but of course the body of the email is littered with html codes.
How can I strip all the html out, and leave only text? I can probably replace <br> with character returns and line feeds, but I'd like to strip out all of the html in each body memo field into text.