Question : Removing specific tags in dreamweaver

I'm trying to remove these unique tags in dreamweaver in an html file.  There are hundreds of them and they are bloating my code but they are all unique so I can't just find and remove them with the standard find and replace function.

<!-- ParagraphStart 491467568 -->
paragraph content 1
<!-- ParagraphEnd 491467568 -->

<!-- ParagraphStart 12345654 -->
paragraph content 2
<!-- ParagraphEnd 12345654 -->

I want them completely removed so i just have just the content between them.

paragraph content 1

paragraph content 2

Answer : Removing specific tags in dreamweaver

Actually forget that idea for now...

Try this instead

Open the doco in Dreamweaver
Go to Command -> Clean up HTML
Check "Remove Non-Dreamweaver HTML Comments" and then click go

This should remove the comment tags. It may delete other ones as well so make sure you check if you have other comment tags that you need to remain and then just add them back in. I would recommend backing up your file before doing this.

http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda9110b1f693f21-7ba0.html

Random Solutions  
 
programming4us programming4us