import re


def stripout(txt):
    """
    Replace white space and non \w characters in text
    :param txt: some text to clean
    :return: clean text
    """
    txt = txt.replace(' ', '_')
    return re.sub('\W', '', txt)