Ah, the delights of our UK postcode system:
Try this:
df %>% mutate(Postcode = str_replace(Postcode, " ", ""))