3C?php $html = file_get_contents("http://www.urbandictionary.com/define.php?term=sniper"); $html = str_replace("\n", "", $html); preg_match("/
(.*?)<\/div>/", $html, $quote); $ex = explode("

", $quote[0]); $d = trim(strip_tags($ex[0])); $e = trim(strip_tags($ex[1])); // D is the definition, E is the example. have fun ?>