Forums Register Login

Library to remove HTML tags and comments

+Pie Number of slices to send: Send
I am looking for a tool that takes HTML as an input and return text as an output. Basically I want to remove all HTML tags and Comments from my string. Is there any Opensouce library for that?
+Pie Number of slices to send: Send
Parsing random HTML is not simple. Consider the JTidy open source toolkit to get HTML into a parsed form.

Bill
+Pie Number of slices to send: Send
Get the Text in an HTML document using the javax.swing.text.html parser.
+Pie Number of slices to send: Send
Thanks all!!
New rule: no elephants at the chess tournament. Tiny ads are still okay.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 6149 times.
Similar Threads
How can I save htmldocument with and without tags?
HTML sanitization
List question
how to remove comments from html ?
HTML tags
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:12:18.