The exception is '...'.
"""
corrected = str(text)
corrected = re.sub(r'([!?...,;])\1+', r'\1', corrected)
corrected = re.sub(r'\.{2,}', r'......whitespaces, removing duplicates.
"""
corrected = str(text)
corrected = re.sub(r"//t"...,r"\t", corrected)
corrected = re.sub(r"( )\1+",r"\1", corrected)
corrected = re.sub(r"(\n)...\1+",r"\1", corrected)
corrected = re.sub(r"(\r)\1+",r"\1", corrected)
corrected = re.sub(r