<?php $str = 'C000000001204'; $str = preg_replace('/^(G?C)0*/', '$1', $str); echo $str;
You have javascript disabled. You will not be able to edit any code.