import re


def create_svb_caption_content(metadata_):
    """
    Creates SubViewer caption content from metadata.

    See https://support.google.com/youtube/answer/2734698 for more information.

    Args:
        metadata_ (dict): video metadata.

    Returns:
        str
    """
    regex = re.compile(r'<.*?>')
    caption_to_text = lambda c: "".join((c["startTime"], ",", c["endTime"], "\n", regex.sub('', c["text"])))
    return "\n\n".join([caption_to_text(caption) for caption in metadata_["youTubeCaptions"]])