3v4l.org

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