def remove_special_chars(text: str):
    """
    Removes the special characters.

    :param text: text to be modified
    :return: modified data
    """
    filtered = text.strip().replace('\'', '').replace('"', '').replace('”', '')\
                        .replace('–', '').replace('“', '').replace('!', '.').replace('?', '.')\
                        .replace('  ', ' ')
    return filtered.lower()