Archive for the 'Dreamweaver' Category

Stripping down old code using Dreamweaver

Wednesday, February 7th, 2007

I recently acquired a job to re-write an existing web application that was written in “old” HTML code. You know the sort, inline styling, unnecessary tags, weird classes, table based layouts nested to the nth degree, etc, etc.

Old code example

Rather than starting writing shiny new XHTML from scratch, I thought I’d make use of some of Dreamweaver’s capabilities for batch processing and find and replace functionality.

Looking into “Regular Expressions”, I found the answer.

(more…)