0
Regec - Find the Image src,width, height in HTML
Posted by Nantharupan
on
3:26 AM
string regexImgSrc = @"<img[^>]*?src\s*=\s*[""']?([^'"" >]+?)[ '""][^>]*?>";
string widthpattern = @"(?<=WIDTH:?)[0-9A-Za-z\s]+(?=;)";
string heightpattern = @"(?<=HEIGHT:?)[0-9A-Za-z\s]+(?=;)";
string widthpattern = @"(?<=WIDTH:?)[0-9A-Za-z\s]+(?=;)";
string heightpattern = @"(?<=HEIGHT:?)[0-9A-Za-z\s]+(?=;)";
Post a Comment