Possible Duplicate:
What is the best way to parse html in C#?
I am parsing an HTML file. I need find all the href tags in an html and replace them
with a text friendly version.
Here is an example.
Original Text: <a href="http://foo.bar">click here</a>
replacement value: click here <http://foo.bar>
How do I achieve this?
You could use the Html Agility Pack library, with a code like this: