3v4l.org

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