Hi I am trying to extract text which a href defines in a html line. For example:
<link rel="stylesheet" href="style.css" type="text/css">
I want to get "style.css" or:
<a href="target0.html"><img align="center" src="thumbnails/image001.jpg" width="154" height="99">
I want to get "target0.html"
What would be the correct Java code to do this?