3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'thisismystring_normal.jpg'; echo preg_replace('/_(normal|mini|bigger)/', '', $string);
Output for 5.3.7 - 7.2.0
thisismystring.jpg