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);
全站熱搜
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);