Rexact
Cheatsheet

Postal codes by country — tested regexes

A postal code is almost never just ‘N digits’: excluded prefixes, leading zeros, forbidden letter pairs, allocated ranges. Each page compares a fixed regex against real attempts found online, with their real score on a test corpus.

18 countries covered.