from typing import Optional


def strip_int_from_path(path: Optional[str]) -> str:
    """Simple function to remove ints from '/' separated paths"""
    if path:
        return "/".join(["<int>" if s.isdigit() else s for s in path.split("/")])
    return ""