3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = file_get_contents('http://www.msn.com'); $regex = '/Page 1 of (.+?) results/'; preg_match($regex,$data,$match); var_dump($match); echo $match[1]; ?>

preferences:
35.06 ms | 402 KiB | 5 Q