3v4l.org

run code in 300+ PHP versions simultaneously
<?php $number = '10001212121212121500'; # you've to make it string then if (preg_match('/1000(.*?)1500/', $number, $match) == 1) { echo $match[1]; } ?>

preferences:
25.34 ms | 404 KiB | 5 Q