3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '.jpg|500|756|20121231-just-some-image-3.jpg)%>'; preg_replace('/\.jgp([^>+])/', '', $str);
Output for 4.3.0 - 7.1.0