(.*?)<\/div>/", $html, $quote); // Search for where the definition starts to be defined in the website. $ex = explode("

", $quote[$num]); // Get rid of the

$d = trim(strip_tags($ex[$num2])); // Trim up the definition. $e = trim(strip_tags($ex[$num])); // Trim up the example. echo "Definition: "; // Echo echo $d; // Echo the Definition echo " Example: "; // Echo echo $e; // Echo the Example } ?>