3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $file = "holm_25.jpg"; $findnum = explode("-",$file); preg_match_all('/([\d]+)/', $findnum[0], $match); $sortnum = implode("", $match[0]); echo $sortnum;
based on fIRFT
Output for 4.3.0 - 7.1.0
25