def clean_alphanumeric(text):
    """
    If text has any non-alphanumeric characters, replace them with a hyphen.
    """
    text_clean = ''
    for charc in text:
        text_clean += charc if charc.isalnum() else '-'
    return text_clean