i want to check if any link contains underscore or not. i want to count how many hrefs contaning _
MatchCollection links = Regex.Matches(html, "(<a.*?>.*?</a>)", RegexOptions.IgnoreCase | RegexOptions.Multiline);
lbllinks.Text = "links .Count.ToString() + " links on this website ";
if string contains like <a id="HyperLink1" href="http://www.sample_1.com">HyperLink</a>
output - 1 underscore link