3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'categoryparameterusedpricing_15'; // look for a match preg_match("/[categoryparameterusedpricing_\d]/", $string, $matches); echo $matches[0];
based on 9qcMe
Output for 4.3.0 - 7.2.0
c