This text is replaced by the Flash movie.

Posts Tagged ‘RegexBuddy’

RegEx and Dreamweaver

September 29th, 2009

Cleaning HTML with Dreamweaver using regular expressions. I happened to clean someone else job putting hard coded styles in font, paragraphs, span tags this is annoying cause I have to look line by line for it with a lot of HTML page to fix. From the help of RegExBuddy 3:
<%TAG%[^>]*>(.*?)</%TAG%>,
RegExBuddy 3 Small Focus

I just replace the %TAG% with font like <font[^>]*> and will find any match like <font style = "font-face:Lucida">

In Dreamweaver when you Find and Replace just check "Use regular expression".

Using Regular Expression Search with Dreamweaver