I'm new to regular expressions (C#). I need to get the brand names out of an HTML document. I'm using
MatchCollection m1 = Regex.Matches(html,"<td>.+?</td>",RegexOptions.Singleline);
and the result is 108 lines similar to the following. Each containing a different brand name, Acer in this case.
<td><a href=acer-phones-59.php>
<img src="http://cdn2.gsmarena.com/vv/logos/lg_acer.gif"
width=92 height=22 border=0 alt="Acer"></a></td>
<td><a href=acer-phones-59.php>Acer phones (89)</a></td>
I need the words "acer" only once, and "acer-phones-59.php" only once. How can I adjust my expression in order to get the brand names and reference name from each line. Any help would be greatly appreciated, thank you.