<?php echo preg_replace('|\\(.+)$|s', 'Trig\\1', 'asd\qwer\thgsd\Boom');
You have javascript disabled. You will not be able to edit any code.