<?php echo str_replace('jpg', '', 'asdfasdf.png');
You have javascript disabled. You will not be able to edit any code.