alf » from archive
Answer: UK Postcode Regex (Comprehensive) http://stackoverflow.com/a/164994/562388?stw=2