import re


def remove_all_special_chars(string: str) -> str:
    """ Removes all characters except letters and numbers and replaces them with ``-``."""
    return re.sub(r"[^a-zA-Z0-9]", "-", string)