if all else fails, try brute force... $range = array(); foreach (range(0,9) as $digit): foreach (range('A','Z') as $alpha): $range[] = 'A'.$digit.$alpha ; endforeach; endforeach;