Archive

Posts Tagged ‘development’

Webby Awards judging criteria

June 6th, 2007 No comments

The Webbys were just on and Erika was a jduge and attended the ceremony. If you want win a webby award you have to try and scrore high the following:
Read more…

Apache, mod_rewrite on Mac OS X

March 8th, 2007 1 comment

Here a quick list of things to remember when trying to debug Apache on Mac OS X (10.4.8 anyway):
Read more…

Categories: work Tags: , , , , ,

Regular Expression to remove HTML tables

September 12th, 2006 6 comments

Just figured out this regular expression to remove all tables from a HTML document:

</?table[^>]*>|</?tr[^>]*>|</?td[^>]*>|</?thead[^>]*>|</?tbody[^>]*>

Extremely useful for cleaning up prehistoric mark-up with a text editor that supports regular expression find-and-replace searches.

And to go all the way, this one removes font tags too:

</?table[^>]*>|</?tr[^>]*>|</?td[^>]*>|</?thead[^>]*>|</?tbody[^>]*>|</?font[^>]*>