text: ^(([A-Z]{1,2}[0-9][A-Z0-9]?|ASCN|STHL|TDCU|BBND|[BFS]IQQ|PCRN|TKCA) ?[0-9][A-Z]{2}|BFPO ?[0-9]{1,4}|(KY[0-9]|MSR|VG|AI)[ -]?[0-9]{4}|[A-Z]{2} ?[0-9]{2}|GE ?CX|GIR ?0A{2}|SAN ?TA1)$
  Post towns
  All or part of one or more postcode districts are grouped into post towns. Larger post towns may use more than one postcode district, for example Crawley uses RH10 and RH11. In a minority of cases, a single number can cover two or more post towns – for example, the WN8 district includes Wigan and Skelmersdale post towns; and the GL17 district contains five post towns.
  Special cases
  Crown dependencies
  The Channel Islands and the Isle of Man established their own postal administrations separate from the UK in 1969. Despite this, they adopted the UK-format postcodes in 1993–94: Guernsey using GY, the Isle of Man using IM, and Jersey using JE.
  The independent jurisdiction of Sark was assigned a unique postcode district GY10 in 2011 to differentiate it from Alderney. The CEO of Guernsey Post, Boley Smillie, said "this has been a long time coming" and "... Sark should have had its own identity back then [when postcodes were adopted in 1993]".
  British Overseas Territories
  Some of the British Overseas Territories have postcodes that broadly follow the format of the UK postcode system or, in Gibralter's case, adopts the UK format: