import re


def re_search(pattern, text, plural=False):
    """Regex helper to find strings in a body of text"""
    match = [m.group(1) for m in re.finditer(pattern, text)]
    if plural:
        return match
    else:
        if match:
            return match[0]