Entity Strip/Insert 3.3
onsists of a pair of utilities that let you
convert/strip/insert HTML/XML/XHTML entities such as _amp;- and _quot;
from files converting them back and forth to their
equivalent single characters !amp; and !quot;. It handles the HTML 4
entities such as _hearts; as well as decimal _#123; and
hexadecimal _x#123; entities.
You may us this package as standalone
utilities, or use the classes in your own programs
to insert or strip entities from HTML.
You can use them like this:
REM to remove & entities and HTMLtags from a file
REM converting entities back to characters
strip.jar afile.html
REM to convert entities in a file
insert.jar afile.html
They come complete with Java source and jar files.