3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Counter = 0; $FolderTitle[$Counter] = "This is 1 example (text) with a (number)(01230_12-3)"; echo preg_match("/\(\K[-\d_]+/", $FolderTitle[$Counter], $out) ? $out[0] : 'no match';

preferences:
26.53 ms | 404 KiB | 5 Q