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
How do I make a database that stores data from a form with sections that have an unknown number of entries
Clearing a submit form once submitted
Crystal reports how to insert page break dynamically
JavaScript Error in IE7 menu hover background does not work
CentOS 5.3: install: booting off USB: misunderstanding....is there a way I can INSTALL linux from an USB drive?
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
problem exportting gridview to excel spreadsheet
Enhancing a hotspot button to include reply with history
Teradata Where Clause - Limit date to this month
Epson scan only runs in "install mode" on terminal server 2003