Heya, I want to use preg_match to find the number of listings on DMOZ. I have a variable, $v, which contains all the source code of a page. How do I write the regex to find "15" (the second one) in the following code? Thanks, Hodge
preg_match('/Open Directory Sites<\/b><\/font>\s+?\(\d+-\d+ of (\d+)\)/', $v, $match); echo $match[1]; PHP: