import re


def sanitize_filename(filename: str) -> str:
    """
    Make the given string into a filename by removing
    non-descriptive characters.

    :param filename:
    :return:
    """
    return re.sub(r'(?u)[^-\w.]', '', filename)