Regex for UK postcodes, NI numbers, etc

I found an xsd defining loads of useful regular expressions on the HMRC website – http://www.hmrc.gov.uk/schemas/core-v2-0.xsd. I hope this helps someone as much as it helped me.

Leave a Reply

Your email address will not be published. Required fields are marked *