def METHOD_NAME(text, splitter):
    if text is None:
        return None, None
    if splitter not in text:
        return text, None
    text, remain = text.rsplit(splitter, 1)
    remain = remain.strip().replace("д/о", "")
    if not len(remain):
        remain = None
    return text, remain