Hi There, I have created a form where I am asking the user to input a postcode, how do I validate the field to ensure it is a genuine Postcode format for the UK?
I am using NWC
Solved! Go to Solution.
Here are some suggestions in stackoverflow but none are comprehensive - including the regex suggested by the UK Government themselves! https://stackoverflow.com/questions/164979/regex-for-matching-uk-postcodes