<?php $test = 'dfbhkjdsfhsdkfkj-565576-786.html'; preg_replace('/^.*-[0-9]+(-[0-9]+)\.html$/', '', $test); echo $test;
You have javascript disabled. You will not be able to edit any code.