<?php echo preg_replace('/(?!0-9)/i', '', 'CAB123')?>
You have javascript disabled. You will not be able to edit any code.