Skip to content

Commit

Permalink
updated gb zip code regex
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Nov 22, 2024
1 parent 2b31276 commit 33aae93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3809,8 +3809,8 @@ const CONST = {
},
GA: {},
GB: {
regex: /^[A-Z]{1,2}[0-9R][0-9A-Z]?\s*[0-9][A-Z-CIKMOV]{2}$/,
samples: 'LA102UX, BL2F8FX, BD1S9LU, WR4G 6LH',
regex: /^[A-Z]{1,2}[0-9R][0-9A-Z]?\s*([0-9][ABD-HJLNP-UW-Z]{2})?$/,
samples: 'LA102UX, BL2F8FX, BD1S9LU, WR4G 6LH, W1U',
},
GD: {},
GE: {
Expand Down

0 comments on commit 33aae93

Please sign in to comment.