使用方法
- Select a country from the searchable dropdown to load its postal code rules。
- Type a postal code into the code field。
- The tool shows the official regex pattern and a format example for that country。
- A green 'Valid' or red 'Invalid' label confirms whether the code matches the pattern。
範例
- Selecting Germany (DE) shows the pattern \d{5} with example 10115; entering 10115 returns Valid, while entering 1011 returns Invalid。
- Selecting Canada (CA) shows the pattern [A-Z]\d[A-Z] \d[A-Z]\d with example K1A 0A9; entering K1A 0A9 returns Valid。