data.replace('--','')
It is a fact. This only checks for multiple hyphens rather than a single hyphen. This removes hyphen only from some of the words.