import re


def remove_non_characters(x: str)->str:
    """
    Input: String
    Output: String
    Removes everything that is not letters or numbers.
    """
    x = re.sub("[\W_]+","",x)
    return x