def METHOD_NAME(versions: str) -> List[str]:
    """
    The versions can take the form:
        - v1.2,2.2 and 3.2  -> [1.2,2.2,3.2]
        - v1 and v2 -> [1,2]
        - v1, v2 -> [1,2]
        - <10 -> [<10]
        - na -> []
        - all -> all (see `affected_version_ranges`)
    Returns list of versions without leading 'v'
    """
    versions = versions.lower().strip().replace("and", ",")
    if versions == "na":
        return []
    if versions == "all":
        return ["all"]
    versions = [
        # some versions are like v2.4, remove v
        version.strip().replace("v", "")
        for version in versions.split(",")
        if version.strip()
    ]
    return versions