import re def get_standardized_name(name: str) -> str: return re.sub(r"\s+", "", name.lower())