def get_string_between_2_strings(text, string1, string2):
    try:
        regex_str = ((string1 + '(.+?)') + string2)
        all_found = re.search(regex_str, text, re.DOTALL).group(1)
    except AttributeError:
        all_found = []
    return all_found
def get_string_between_2_strings(text, string1, string2):
    try:
        regex_str = ((string1 + '(.+?)') + string2)
        all_found = re.search(regex_str, text, re.DOTALL).group(1)
    except AttributeError:
        all_found = []
    return all_found