Postal codes of the form: 'DDDDD'. All digits are used. First two digits indicate the department, and range from 01 to 98. To include postal codes beginning with 00 (military use), use /^(?:[0-8]\d|9[0-8])\d{3}$/
Text | Result |
---|---|
00123 | no match |
12345
| match |
99123 | no match |