<?php $orig = "asdfasdf.thumbnail.JPG"; $goal = "asdfasdf.JPG"; preg_replace("/\.thumbnail\.JPG/",".JPG",$orig); echo $orig . PHP_EOL . $goal;
You have javascript disabled. You will not be able to edit any code.