hi,
Bulgarian is (\d\d\d\d)
smaller zip code as number is 1000 so a bit more exact could be
([1-9]\d\d\d) but I don't think this is better :)
P! Vladi.
On Thu, 2 Jan 2003 15:29:43 +0100
Abigail <[EMAIL PROTECTED]> wrote:
>
> For the module Regexp::Common, I'm looking for the formats of
> zip (or postal) codes of various countries. Thanks to another
> mailing list, I've the formats for the Netherlands, Britain
> and Australia.
>
> For the US, I have: /\d{5}(-\d{4})?/, but I don't know whether
> any digit combination is allowed - does the format allow for
> leading 0s?
>
> For Canada, I have: /[A-Z]\d[A-Z] \d[A-Z]\d/, but does Canada
> use all 26 letters? Is there any checksum buildin?
>
> For all other countries, I've nothing so far. Can anyone help?
>
>
>
> Abigail
>
--
Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://soul.datamax.bg/~cade
Welcome to this crazy world, welcome to the show, that never ends...