<?php
$string = 'http://w...content-available-to-author-only...m.br/276255_Papel-de-Parede-Meme-Obama-Not-Bad_1280x1024.jpg';
preg_match('/(https?:\/\/[^\s\'\"]*)/', $string, $match); $reply = '<img src="'.$match[0].'" alt="" width="" height="" />';
echo $reply;
PD9waHAKCiRzdHJpbmcgPSAnaHR0cDovL3cuLi5jb250ZW50LWF2YWlsYWJsZS10by1hdXRob3Itb25seS4uLm0uYnIvMjc2MjU1X1BhcGVsLWRlLVBhcmVkZS1NZW1lLU9iYW1hLU5vdC1CYWRfMTI4MHgxMDI0LmpwZyc7CnByZWdfbWF0Y2goJy8oaHR0cHM/OlwvXC9bXlxzXCdcIl0qKS8nLCAkc3RyaW5nLCAkbWF0Y2gpOwokcmVwbHkgPSAnPGltZyBzcmM9IicuJG1hdGNoWzBdLiciIGFsdD0iIiB3aWR0aD0iIiBoZWlnaHQ9IiIgLz4nOwoKZWNobyAkcmVwbHk7Cg==