The pages on your site are huge, so removing all the font tags AND their attributes would take forever by hand, especially since most of the font tags and attributes are inconsistent.
Answer : Method #1 Preferred Method- Select “Clean up HTML/XHTML …” from the Commands menu.
- Uncheck everything but the “Specific Tag(s)†checkbox.
- Enter the word font in the text box.
- Click OK.
Thanks Eric for Method #1!
Method #2Dreamweaver MX has a FIND AND REPLACE feature, just like many code text editors do. However, Dreamweaver MX also has a feature that allows you to use Regular Expressions along with the FIND AND REPLACE feature.
Note: - Many other Text Editors contain the Regular Expressions functionality, so Dreamweaver MX may or may not be needed for the below function to work.
An example of font tags mixed with each other
Crappy Text goes here
The following Regular Expression will completely eliminate ALL font tags and their attributes.
</{0,1}font[^>]*>
To implement this code, following the instructions below:
You may download an example file (fonts.htm) to be used specifically with this test.
Also, a copy of Dreamweaver MX is necessary for this Font stripping
code to work. I am unaware of whether this code will work in other
WYSIWYG editors.
Ok, did you download that test file (fonts.htm)? You can always use one of your own files if you would like.
Open up the file in Dreamweaver MX. In Design View, you should see the below visual:

Change the screen into CODE VIEW so that you can see all the nasty FONT tags and their attributes. You should see the below visual:

Press CONTROL (Ctrl) + the letter F (Ctrl + F) or use the toolbar and do EDIT > FIND AND REPLACE.
You should see the below visual:

Enter the following code into the SEARCH FOR box like shown above
</{0,1}font[^>]*>
Make sure the USE REGULAR EXPRESSIONS box is checked.
Leave the REPLACE box EMPTY
Step 4Press the REPLACE ALL button. See the below visual:

You should now see a window that tells you Done. 72 items found, 72 replaced in the current document

Hit OK.
Step 6Now you should see that your TAG SOUP is less chunky. View the below visual:

Switch back to DESIGN MODE. You will now see that all FONT formatting has been removed from your text.
NO MORE FONT TAGS!
If done correctly, your final product (with using my example file) should look like this file.
If you are feeling froggy, when using the Regular Expression mentioned above, switch out the word FONT with any other tag you would like to remove, like the evil <table> tag when used for layout purposes.

