Microsoft
Software
Hardware
Network
Question : PHP/RegEx to Extract Data from img tag
I have some code that is looping through some copy on my site.
I'm looking to do something like this:
//Check if the line contains <img src="">
if(isImage($lineToCheck)) {
//If it is, extract alt text, and img src.
}
It checks to see if $lineToCheck contains an img tag, and if it does, it pulls out the Alt text, and the img src.
Answer : PHP/RegEx to Extract Data from img tag
Found a solution trough the forum from Shadow Protect
Random Solutions
JavaScript Get Variable Field Value
what is the default directory to run jsp file from tomcat 5.5 and what directory for mysql_connector.jar file to be placed?
Problems installing the AjaxControlTooKit.dll
Remove space from textbox automatically
perl regexp with div tags and space
MySQL IFNULL() selection
iPad Camera Connection Kit does not display .jpg images on iPad
jquery dhtml dynamic population issue
Database Design - Double Entry Accounting
Mounting NFS NAS in ESX 3