Each country using postal codes / postal codes usually has its own format. It will be difficult for you to find a regular expression that matches any world!
You better add a country picker that defines the regular expression (if any) that will be used to check the zip code.
As an aside, the zip code you provided as an example of the UK is incorrect. Decent regex in the UK:
^(^gir\\s0aa$)|(^[a-pr-uwyz]((\\d{1,2})|([a-hk-y]\\d{1,2})|(\\d[a-hjks-uw])|([a-hk-y]\\d[abehmnprv-y]))\\s\\d[abd-hjlnp-uw-z]{2}$)$
Ian l source share