how to decode html codes using Java?

iGurpZ

New Member
I need to extract paragraphs (like \[code\]title\[/code\] in StackOverflow) from an \[code\]html\[/code\] file. I can use regular expressions in Java to extract the fields I need but I have to \[code\]decode\[/code\] the fields obtained.EXAMPLEfield extracted: \[code\]Paging Lucene&#39s search results (with **;** among **&#39** and **s**)\[/code\]field after decoding:\[code\]Paging Lucene's search results\[/code\]Is there any class in java that will allow me to convert these html codes?
 
Back
Top