Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

How to strip html tags with dreamweaver?



9:49 pm on Nov 10, 2008 (gmt 0)

5+ Year Member

I have many older pages with font/style/size tags. Any easy way to strip out all tags from an html document? I have dreamweaver cs3.

I'm recoding old pages by hand to use style sheets. Total pain in the butt!

Insights welcome!


i like your sleeves

1:45 pm on Nov 12, 2008 (gmt 0)

10+ Year Member

well since you've already had this question posted for two days, you might have already finished it or answered it for yourself. but if not, what i do is scan the page for multiple recurrences then i use the find/replace function. you can search for anything that recurs frequently and replace it with either nothing or with your new css tags. i'm not extremely familiar with dreamweaver - i prefer bbedit etc. - but i'm sure you can do this there too. if not you can copy the code and paste into a text editor and strip tags there using find/replace. hope this helps. if you find another solution besides this one, please share! good luck.


12:42 am on Dec 14, 2008 (gmt 0)

5+ Year Member

Thanks for the reply. I have been using the search and replace with the replace field empty but was hoping there was a more global way to do this and maybe DW had something built in to make user's lives easier. Perhaps not.



3:03 pm on Dec 14, 2008 (gmt 0)

10+ Year Member

In the DW Find/Replace box, next to "Search:" select "Specific Tag" and in the next field put font

For "Action:" choose "Strip Tag."

This will remove all font tags (open and close tags) in the page. (Or in the entire site, if you choose that option.) Note that it may miss some if you have any unclosed font tags, or closing font tags without a matching opening tag.)


Featured Threads

Hot Threads This Week

Hot Threads This Month