[thelist] no more font tags?

Michael Barrett mbarrett at triad.rr.com
Sat Jun 2 09:25:46 CDT 2001

Well, if you did want to clean up that kind of crap with a search and
replace feature you could....

<tip type="addon">
In Dreamweaver's search and replace dialogue, check "Use Regular
Then enter "<font[^>]+>" to search for all instances of an opening font tag.
Of course replace the mess with nothing.
Then a simple search and replace for the end tag, "</font>" will clean out
the rest.
This also works in BBEdit's search and replace feature, you would check "Use
Grep" instead.

> <tip>
> dreamweaver has a function (commands, clean up html, or alt-c-l) that lets
> you remove specific tags, and it's really a "smart" search, which means it
> will find all variations of the tag, including things like
> <font face="Comic Sans MS" color=red>
> <font color=red face="Comic Sans MS">
> <font color="red" face="Comic Sans MS">
> <font color="#FF0000" face="Comic Sans MS">
> <font color="#FF0000" size=+1 face="Comic Sans MS">
> <font color="#FF0000" size="+1" face="Comic Sans MS">
> you just do *not* want to clean up this type of crap with a search&replace
> utility
> </tip>

-- Michael Barrett

mbarrett at triad.rr.com
AIM: device55

More information about the thelist mailing list