Если вы хотите исключить все до первого дефиса и объединить все остальное, вы можете сделать это:
<?php
$str='9453-abcafaf3ceb895d7b1636ad24c37cb9f-100.png?1';
$str = explode('-', $str);
$count = count($str);
// So far we have the string exploded but we need to exclude
// the first element of the array and concatenate the others
$new = ''; // This variable will hold the concatenated string
for($i=1;$i<$count;++$i){
$new.=$str[$i];
}
echo $new; // abcafaf3ceb895d7b1636ad24c37cb9f100.png?1
?>
Таким образом, в основном вы просматриваете элементы и объединяете их, как они были изначально, ноТеперь мы пропускаем первый.