import re


def find_default_translations(message_body):
    """ Uses regex to search a private message for default translations
    when a user sends a default translation request. """

    regex = (r"OT\:\s(?P<ot>[\w\-\d]+),\sNT\:\s(?P<nt>[\w\-\d]+),"
        r"\sDeut\:\s(?P<deut>[\w\-\d]+)")

    match = re.findall(regex, message_body)
    if len(match) == 0:
        return None, None, None
    else:
        return match[0][0], match[0][1], match[0][2]