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
instead of paragraphs,
Code: Select all
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!
Posts: 42
Joined: Tue Feb 21, 2012 9:43 pm

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 21 guests