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