def METHOD_NAME(strings, extract_re):
    """Extract a group from a regular expression in any of the strings.
    """
    for s in strings:
        match = re.search(extract_re, s)
        if match:
            return match.group(1)
    return None