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
Citrix presentation Svr 4.5 - Data collector election
Could not attach database in sql server 2005 in Windows 7
Exchnage database restoration
What is implement in Caterpillar Skid Steer Loader?
Vmware ESX best practice
Applying group sum to higher level
How do display number as KB, MB, or GB?
Permission Problems Creating Exchange Mailbox
Asterisk+Polycom: Program a key on polycom to transfer-to or conference-in a specific extension
Display Key Fields