import re


def get_info(prefix, string):
    """
    :param prefix: the regex to match the info you are trying to obtain
    :param string: the string where the info is contained (can have new line character)
    :return: the matches within the line
    """

    info = None

    # find and return the matches based on the prefix and if there is a match (not empty)
    matches = re.findall(prefix, string)
    if len(matches) > 0:

        info = matches[0]

    return info