try this Regex.Matches(yourStr,@"(?<=<img src="")http[^""]+(?="")");
string regImage = "<img\\b[^>]*\\bsrc\\s*=\\s*('|\")(?<url>([^'\"\n\r\f>]+(\\.jpg|\\.bmp|\\.gif|\\.png|\\.tif|\\.jpe|\\.jpeg|\\.ico|)))('|\")[^>]*>"; Regex reg = new Regex(regImage, RegexOptions.Compiled | RegexOptions.IgnoreCase); Match m = reg.Match(content); while (m.Success) { string value = m.Groups["url"].Value;}
Regex.Matches(yourStr,@"(?<=<img src="")http[^""]+(?="")");
while (m.Success)
{
string value = m.Groups["url"].Value;}