import re


def strip_protocol(path: str) -> str:
    """
    Returns a URL removing the http/https protocol
    Example:
      {% strip_protocol 'https://app.posthog.com' %}
      =>  "app.posthog.com"
    """
    return re.sub(r"https?:\/\/", "", path)