Hello,
I have a problem to this html code.I want to get only the data inside the href,but the data is dynamic.
<a title="Click here to see docket information" href="/ccm/do/docket?county=65&data=eedd78d10fd9da341e05b25b48b62013">652012CC000006CCXXXX</a>
I am not really familiar in regex.I am using this code to extract the html inside the href.
MatchCollection m1 = Regex.Matches(response,@"(href=.*?>.*?</a>)",
RegexOptions.Multiline);
string caseID = "";
foreach (Match m in m1)
{
string value = m.Groups[1].Value;
}
But it returns
href=/ccm/do/docket?county=65&data=a9d945a6cd0fc5c25eaa3726e4497374>652012CC000006CCXXXX</a>
instead this
href=/ccm/do/docket?county=65&data=eedd78d10fd9da341e05b25b48b62013
I need your suggestion.
Thanks