vb.net Check for valid UK postcode

Who said you cant validate a UK postcode? Ill tell you who

http://en.wikipedia.org/wiki/UK_postcodes

Automatic validation of postcodes on the basis of pattern feasibility is therefore almost impossible to design, and the system contains no self-validating feature such as a check digit. Completely accurate validation is only possible by attempting to deliver mail to the address, and verifying with the recipient.

The function will return True of False

Download Source code here

Leave a comment

You must be logged in to post a comment.