How to parse a HTML table and export to Excel

In this example we will explain how to do that, but note that if you are receiving the table in an attached PDF or Excel file this example is not applicable as we are getting the table from the HTML code in the Body of the email, not from the attachments.