I have problem writing a regular express which match with only div class name "classBig1" and has one anchor link as its child. Here is my code but it doesn't work:
preg_match_all ("/<div class=\"headline9\"><a[\s]+[^>]*?href[\s]?=[\s\"\']+".
"(.*?)[\"\']+.*?>"."([^<]+|.*?)?<\/a></div>/",
$var, &$matches);
//example HTML: <div class="classBig1"><a href="http://yahoo.com">Go Index99</a></div>