3v4l.org

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

preferences:
48.21 ms | 402 KiB | 5 Q