<?php $str = '.jpg|500|756|20121231-just-some-image-3.jpg)%>'; preg_replace('/\.jgp([^>+])/', '', $str);
You have javascript disabled. You will not be able to edit any code.