hmm ...
well i think you can use the Ultraedit on Windows with a find/replace .. it's a text editor for Microsoft Windows created by IDM Computer Solutions. The editor contains very powerful tools for programmers, including macros, syntax highlighting, regular expression, and more.
If you have code like:
CODE
<html>
<tag! tag description="here!">More code here!</tag>
<a href="www.google.com">Google linkage!</a>
</html>
Or whatever it its, just do this:
CODE
<html> <tag! tag description="here!">More code here!</tag><a href="www.google.com">Google linkage!</a></html>
(It doesn't fit on one line on these boards, but it will in regular code)
If you wish to encode it, just use escape codes. They're easy as anything to unescape, but they keep the casual user out.
I know alil bet about the Html-editors,but and see also for more
http://en.wikipedia.org/wiki/List_of_HTML_editors
Shell scripts ... i'll figure it out for you to find out how to work with it !!