<?php echo preg_replace('/(,+)/','','test ,/ test ,');
You have javascript disabled. You will not be able to edit any code.