Remove dashes at end of word