on @*:join:#chan: if ($regex($nick,/^[A-Z].++(?<=\d\d)/)) ban -k # $nick 2 Bad nick.

If you prefer something shorter, but slightly less efficient in theory (you wouldn't notice it at all in this case) you can use:

$regex($nick,/^[A-Z].*\d\d$/)