<?php $a = 'CG-123-456'; var_dump(preg_split('/CG\-\d+\-\d+/', $a));
You have javascript disabled. You will not be able to edit any code.