def METHOD_NAME(self, pattern, result):
    extracted = []
    for p, r in zip(pattern, result):
        if p in String:
            extracted.append(r[1:-1].replace('""', '"'))
    return tuple(extracted)