<?php $string = "file.d20140220-u162540.jpg"; $string = substr($string, 0, -3); echo $string;
You have javascript disabled. You will not be able to edit any code.