<p>
lorem ipsum lorem ipsums <font style="background-color:yellow">ipsum</font> ipsume lorem
</p>
how to replace the <font> tag with <abbr> so the out put will be like this.
<p>
lorem ipsum lorem ipsums <abbr style="background-color:yellow">ipsum</abbr> ipsume lorem
</p>
Finds all font tags within any p, and replaces it with an abbr with the style attribute and text copied over.