def get_string_between_tags(string, opening_tag, closing_tag):
    """
    Return the substring between two tags. The substring will begins at the first occurrence of the
    opening tag and will finishes at the last occurrence of the closing tag.
    :param string: String in which are the tags
    :param opening_tag: Tag opening the substring
    :param closing_tag: Tag closing the substring
    :return: The substring between the opening tag and the closing tag
    """

    try:
        start = string.index(opening_tag) + len(opening_tag)
        end = string.rindex(closing_tag, start)
        return string[start:end]
    except ValueError:
        return ""