I've been meaning to put this up here ever since the day after my
post about regular expressions but time has eluded me until now. I had a stab at coming up with some code for a postcode to save doing the same old checking (or alternatively none at all!) every time; let me know what you think.