private string ChangeFileTag(string text) { string rst = text; Regex rg = new Regex(@"(https?):\/\/([^:\/\s]+)((\/[^\s/\/]+)*)?", RegexOptions.IgnoreCase); MatchCollection mc = rg.Matches(rst); rst = "<img src=" + mc[0].ToString().Replace("'", "") + ">"; return rst; } http로 시작하는 문자열 추출..