<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parse_application_id(text):
 """ Extract the application id from input text. :param text: text to parse :type text: str :return: application id if found in the input :rtype: str """

    result = re.search(APPLICATION_ID_PATTERN, text)
    return result.group(0) if result else None