<?php echo preg_replace('/[,:|][^,:|]*$/', '', 'Hello, How are you ? | this, is testing');
You have javascript disabled. You will not be able to edit any code.