3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 'dfbhkjdsfhsdkfkj-565576-786.html'; $test = preg_replace('/^.*-[0-9]+(-[0-9]+)\.html$/', '', $test);
Output for 4.3.0 - 7.1.0