Hi guys,
I built a regex
that should give me the span's inside an html and i went to site called regex tester and it gave me 6 matches but when im
putting it in my c# code it gives me none
CODE C#:
Thanks for all the help
I built a regex
Code
<span dir=\"ltr\">([a-zA-Z0-9']+)</span>that should give me the span's inside an html and i went to site called regex tester and it gave me 6 matches but when im
putting it in my c# code it gives me none
CODE C#:
Code
WebClient client = new WebClient();
string html = client.DownloadString(@"My url");
Regex r = new Regex("<span dir=\"ltr\">([a-zA-Z0-9']+)</span>");
foreach (Match t in r.Matches(html))
{
Console.WriteLine(t.ToString());
}Thanks for all the help

