Home Download Buy Blog Forum Support

automate correcting badly coded HTML?

automate correcting badly coded HTML?

Postby cutcopypaste on Tue Feb 21, 2012 9:50 pm

Before I start going through this by hand, I just wanted to find out if there's a way to automate this?

I'm working with a whole bunch of documents that are coded in horribly out of date ways. With
Code: Select all
<br>
instead of paragraphs,
Code: Select all
<font>
tags on every paragraph, list item, etc (even though they all provide the same styling for the most part). headers are denoted as
Code: Select all
   <p><font size="2" face="Arial, Verdana, Times New Roman" align="left"> <strong>header</strong></font></p>


Now i know some rigorous finding and replacing could get me partway toward solving this. But I'm not very good with the RegExp, and I wonder if there's any tools that could help me redecorate (not just tidy) this HTML ?

Thanks a lot!
cutcopypaste
 
Posts: 41
Joined: Tue Feb 21, 2012 9:43 pm

Return to General Discussion

Who is online

Users browsing this forum: BestGreek, Exabot [Bot], Google [Bot], Jibz, qgates and 59 guests