Remove all FONT tags quickly

I am working on an old library exhibit website that is from 2001, so of course it is filled with <font> tags and a <table> layout structure. I wanted a way to quickly remove all the old dated code so it would be easier to put into our new template. After searching though Google I found I could use a regular expression with find and replace to remove almost anything.

</{0,1}font[^>]*>

This expression will remove anything that has the “font” name in the brackets. Also used it for <table>, <tbody>, <tr>, <td>, and, <div> tags. This gave me just the <p>, <img>,
<blockquote> and a few other tags to work with.

This entry was posted in Web Design. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *