I have the following:
$input = '<p>This is a sample of a content I am working with <br /> Check out this image <img src="http://mydomain.com/1.png" /> or this one <img src="http://mydomain.com/2.png" />';
How can I get this two urls in an array?
['<img src="http://mydomain.com/1.png" />','<img src="http://mydomain.com/2.png" /'>]