So I have a badly formatted div with a bunch of inline CSS with <p>, <font>
, and other old school tags. There are 2 text strings I need to grab and place those into a separate div higher up on the page.
Specifically, In the HTML below I need to grab the text after the word "CONDITION:" But I don't want the HTML. The actual text is different on all pages but the HTML is the same.
<div class="content" id="content" style="display: block;">
<p></p>
<p align="center">
<strong>
<u>
<font size="5" face="Arial Black" color="#990000">ONE NICE</font>
</u>
</strong>
</p>
<p align="center">
<strong>
<font size="5" face="Windings" color="#000040">MICHELIN</font>
</strong>
</p>
<p align="center">
<strong>
<font size="5" color="#000040">ENERGY MXV4 S8</font>
</strong>
</p>
<p align="center">
<strong>
<font size="5" face="Arial Black">215/55/17</font>
<font size="5" face="Arial, Helvetica, sans-serif"><br/>93V</font>
</strong>
</p>
<p align="center">
<font face="Arial Black">
<strong>
<font color="#990000"><u>CONDITION</u> :</font>
</strong>
<br/>
</font>
<font size="2" face="Arial, Helvetica, sans-serif">
<strong>Approximate tread: 8-9/32<br>About 80-90% of tread life left</strong>
</font>
</p>
<p></p>
</div>