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