I have some data like below:
W2 2JP
W14 9NF
W1K 5PE
W1K 5PE
SW7 5EU
W1K 5PE
N2 9QB
I would like to have output like:
W2
W14
W1
W1
SW7
W1
N2
Any help or direction appreciated, I can find and replace to where I get everthing to left of ' ' but I cannot then exclude the letter at the end of the first half of postcode