- print_r: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$sourcestring="<img>http://miximoms.dev/static/uploads/n7krkqvkkr/1386778095zkn_playmobil-smooth-criminal.jpg</img>";
preg_match_all('/<img>(.*?)<\/img>/',$sourcestring,$matches);
print_r($matches);
foreach($matches as $deselect){
foreach ($deselect as $display){
echo $display."<br />";
}
}