Apologies for the messy code, I am a beginner. Basically I\'m trying to input a file which has lines of Surnames formatted as:
Surname:Beale next Surname:Brow