Takes the input and makes sure all characters other than letters are removed. It means it will also remove spaces.