import re


def clean_input(text, *, replace='-'):
    """
    Ensure input contains ONLY ASCII characters.
    Any other character will be replaced with 'replace'.

    Args:
        text: The text to clean.
        replace: The replacement character to use.

    Returns:
        The cleaned text.
    """
    text = re.sub(r'[^a-zA-Z0-9-]', replace, text)
    text = re.sub(r'--+', replace, text)

    return text