I need to get a value ("abc" in below example) from HTML file that looks like this:
<input type="hidden" name="something" value="abc" />
As i found out from other posts, i should be using one of the HTML parsers (not regex). Could you please tell me which one to use or show a code sample.
Thank you.
Have a look at http://htmlparser.sourceforge.net/
You could use Jsoup for this.
Or shorter:
See also: