string s = "<img src=\"http://www.yahoo.com.tw/1.gif\"/>";
        System.Text.RegularExpressions.Match m = System.Text.RegularExpressions.Regex.Match(s, "\"(.*?)\"");
        string res = m.Groups[1].Value;

        Response.Write(res);


arrow
arrow
    全站熱搜

    Roger 發表在 痞客邦 留言(0) 人氣()