import re


def __safe_file_name(name: str) -> str:
    """
    This helper is responsible for removing forbidden OS characters from a certain string.
    :param name: String to be converted
    :return: Safe string
    """
    return re.sub(r'<|>|/|:|\"|\\|\||\?|\*', '', name)