希望 永远是快乐的.

有一种沉默叫霸气,有一种内敛叫个性,有一种简单叫深遂,有一种不屑叫自我。

导航

2013年5月2日

Get Images tag from the html string using C#

摘要: To get all image tags from the html string using c#, public List<Uri> FetchLinksFromSource(string htmlSource) { List<Uri> links = new List<Uri>(); string regexImgSrc = @"<img[^>]*?src\s*=\s*[""']?([^'"" >]+?)[ '""][^>]*?> 阅读全文

posted @ 2013-05-02 17:44 希望(Jack) 阅读(289) 评论(0) 推荐(0) 编辑