import re


def _sanitize(label):
    """
    Sanitize string, only allow \w regex chars

    :param label: Input that needs to be sanitized
    :return: The sanatized string
    """
    return re.sub(r'(\W+| )', '', label)