3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'categoryparameterusedpricing_15'; preg_match("/categoryparameterusedpricing_0-9/", $string, $matches); echo $matches[0];

preferences:
35.32 ms | 402 KiB | 5 Q