Using system.text.regularExpressions;
String s = "...............";
Regex re = new regex (@ "] 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);