RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Parse HTML images
Expression
"<[ \t]*[iI][mM][gG][ \t]*[sS][rR][cC][ \t]*=[ \t]*['\"]([^'\"]+)"
Description
Get all images in html string, ignore white space, tabs and is case insensitive. the result is iMG sRc ="ricardo.gif, after this just split the string and Enjoy it!
Matches
"<html><iMG sRc = \"ricardo.gif\" alt=\"1\"/><img src=\"whatever.gif\" /><img src =\"teste.gif\" alt=\"1\"/></html>"
Non-Matches
i don´t know
Author Rating: The rating for this expression. Ricardo Deus
Source Ricardo Deus
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials