import re


def clean_text(name: str) -> str:
    """Remove all special characters and replace any space by hypen.
    So, it should create a sort of URL friendly name

    >>> clean_text("Large Text")
    'large-text'

    >>> clean_text("cb3: spider and polar")
    'cb3-spider-and-polar'
    """
    name = name.lower()
    name = re.sub("[^A-Za-z0-9 ]+", "", name)
    name = re.sub(r"\s+", "-", name)
    return name