Postal code rules
Choose a country:
List of allowed rules:
-
- no rules found for this country -
Where
- \N - Digit
- \A - Letter
The rule is described using regular expressions, where the most important symbols are:
A detailed description of all symbols and rules can be found on the internet.
- . - Any character
- * - Zero or more occurrences of the preceding symbol
- + - One or more occurrences of the preceding symbol
- {3} - 3 instances of the preceding symbol
- ? - The preceding symbol is optional
- \d - Digit
- \w - Letter
- [XYZ] - The letters X, Y or Z are allowed
- [A-Z] - Letters from A to Z are allowed
- [0-6] - Digits from 0 to 6 are allowed
- [XYZ]+ - One or more characters from this group are allowed
A detailed description of all symbols and rules can be found on the internet.