Converts Windows path to Posix path while stripping drives letters and network server slashes.

    Usage::

        >>> to_posix_path("c:\\Users\\JohnDoe\\Documents")
        u'/Users/JohnDoe/Documents'

    :param path: Windows path.
    :type path: unicode
    :return: Path converted to Posix path.
    :rtype: unicode

def to_posix_path(path):
    """
    Converts Windows path to Posix path while stripping drives letters and network server slashes.

    Usage::

        >>> to_posix_path("c:\\Users\\JohnDoe\\Documents")
        u'/Users/JohnDoe/Documents'

    :param path: Windows path.
    :type path: unicode
    :return: Path converted to Posix path.
    :rtype: unicode
    """

    posix_path = posixpath.normpath(to_forward_slashes(re.sub(r"[a-zA-Z]:\\|\\\\", "/", os.path.normpath(path))))
    LOGGER.debug("> Stripped converted to Posix path: '{0}'.".format(posix_path))
    return posix_path