3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = "some address number 23 neighborhood city"; preg_match("/([^\d]*\d*)(.*)$/", $string, $matches); var_dump($matches);

preferences:
115.98 ms | 1423 KiB | 5 Q