I have a html file and I would like to parse the source of this html.
Let's assume report.html is my html and I know the exact path to this file on my machine.
The pattern that I am parsing in the source looks like this:
<td><a href="SOMEPATH.html#ABCD"><font color=green>pass</font></a>
<td><a href="SOMEPATH.html#EFGHJKLM"><font color=red>fail</font></a>
And this pattern continues.
Now I would like to parse, extract and construct a plain view of this report in a plain separate text file as the following:
How can I make it in Java?