110,535
社区成员
发帖
与我相关
我的任务
分享
string strContent="被检索文字";
string str1="http://";
string str2=",";
string str=str1+".*"+str2;
Regex regex=new Regex(str, RegexOptions.IgnoreCase);
Match match=regex.Match(strContent);
string strResult=match.Value.ToString();