I have html which contains such text
.......
<a class="product_name" href="index.php?productID=29785">Funny</a>
........
<a class="product_name" href="index.php?productID=29787">Very Funny</a>
......
I'd like to href attribute value and text into link so I'd like to get
"index.php?productID=29785", "Funny"
"index.php?productID=29787", "Very Funny"
And I use
MatchCollection mc = Regex.Matches(pageData,
"<a class=\"product_name\" href=\"(.+)\">(.+)</a>");
For this. But when I debug code I saw that mc.Count = 0
I think I didn't escaped quotes properly, but I don't know.