string fckStr = FCKeditor1.Value; MatchCollection matchs = Regex.Matches(fckStr, @ " <img\s[^> ]*src=([ " " ']*)(? <src> [^ ' " "]*)\1[^> ]*> ", RegexOptions.IgnoreCase); foreach (Match m in matchs) { Response.Write(m.Groups[ "src "].Value+ " <br> "); }
0条大神的评论