Skip to content

Instantly share code, notes, and snippets.

@jonheslop
Last active January 10, 2025 14:51
Show Gist options
  • Select an option

  • Save jonheslop/a64347dc3c31a9356c52841e6e1080a1 to your computer and use it in GitHub Desktop.

Select an option

Save jonheslop/a64347dc3c31a9356c52841e6e1080a1 to your computer and use it in GitHub Desktop.
A bunch of postcodes of address that are unusual that might catch out your clever form logic
  • W1J 7NT - 149 Piccadilly, London. House of the Duke of Wellington
  • SW1A 1AA - Buckingham Palace
  • HD7 5UZ - covers 7 streets; the most in the UK
  • CH5 3QW - the longest addresses in terms of numbers of elements
  • SA631QU - the Post Town is CLARBESTON ROAD
  • W2 1JB - When all the premises get expanded you'll get the longest 'premise string' in the UK
  • PL7 1RF - Devon and Cornwall Police vs Devon and Cornwall Constabulary
  • GIR 0AA - special case Postcode for Girobank at Bootle
  • GY1 3EW - PO Box
  • JE3 1EP - Jersey
  • JE2 3XP - Tir na Nog
  • IM9 4EB - Great Meadow, Great Meadow
  • IM9 4AJ - has no street
  • GY7 9YH - French names with commas and apostrophes
  • M1 1AA - Shortest manchester postcode

Shared with me my estemeed colleague and fellow Heslop - Gary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment