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 to set up a process that updates a UserRoleID, generates a password, and sends an email message all at once?
windows 2003 server can't access internet
Dell inspiron 1720 BCM2045 bluetooth driver for Windows XP Professional.
802.1q trunk
SQL Sever 2008 evaluation expired
Redistributing RIP into OSPF non-contiguous subnets.
capturing deletes
How to print an entire help file or save as / convert help file to pdf?
WAP to WAP
creating system restore point