using System.Text.RegularExpressions;
string s = ".................";
Regex re = new Regex(@"<img[^>]+src=(?:""(?<src>[^""]+)""|'(?<src>[^']+)'|(?<src>/S+))[^>]*>", RegexOptions.IgnoreCase);
MatchCollection mc = re.Matches(s);
Console.WriteLine(mc.Count);
foreach(Match m in mc)
Console.WriteLine("{0} --> {1}", m.Value, m.Groups["src"].Value);