def METHOD_NAME(name, replace):
    new_name = ""
    for c in name:
        if c.isalpha() or c.isnumeric():
            new_name += c
        else:
            new_name += replace
    return new_name