How can I reliably extract all URLs (image and no image URLs) from a string containing many different types of links and URLs?
Input:
$string = \'