正则表达式
摘要:
//匹配图片 var regexImg = new Regex(@"]*)(.*?)>", RegexOptions.IgnoreCase); var matches = regexImg.Matches(editor1.BodyHtml); var ftp = Common.NewsFtp(true); //遍历每个图片 foreach (Match match in matches) { string localPath = match.Value; //匹配地址 var regex = new Regex("src=\"(.*)\" 阅读全文
posted @ 2013-10-08 18:21 edsonwu 阅读(111) 评论(0) 推荐(0) 编辑