I am learning C# and i am trying to extract data from a website.
So far i have managed to get the data i need. But as it is a hyperlink that i am trying to extract, i run in to problems.
I am trying to extract the name of a person and in the source code it is written as
<td class="name"><a href="/fodbold/biografi/patrick-kristensen/">Patrick Kristensen</a>
I use this to extract
MatchCollection NameOfPlayer = Regex.Matches(html, "<td class=\"name\"><a href=\"/fodbold/biografi/patrick-kristensen/\">\\s*(.+?)\\s*</a>", RegexOptions.Singleline);
To extract every person i need to ignore the
<a href="/fodbold/biografi/patrick-kristensen/">
but how to?
Thanks!