Does anyone know how could I get the image URL from a string? I may get 2 URL's or more than two delimited by a comma and some of them won't not be an image.
var sample_str = "http://domain.com/test.html,http://another.domain.com/images/1234.jpg";
Basically what I want to do is get only the image URL and omit the rest.
http://another.domain.com/images/1234.jpg