Splitting by <div> and <table> tags

{result1}

Extracting <img> and <br> tags

{result2}

Cleaning to XHTML, removing non-allowed tags and attributes

{result3}