Skip to content

Instantly share code, notes, and snippets.

@dshipp
dshipp / postcode_task.md
Last active December 13, 2016 12:25 — forked from edhiley/postcode_task.md
Please read the instructions fully and ensure you meet all the constraints/instructions listed at the end. You should complete this task as if you were carrying it out in a work environment, i.e. you may perform web searches to help with your solution. However plagiarism is absolutely unacceptable.

Technical Task

Part 1 - Postcode validation

Write code that will validate UK postcodes.

You are given a regular expression that validates postcodes (shown in verbose form below):

    (GIR\s0AA) |

(