import re


def split_article(article):
    """
    Splits single article into full text and metadata

    input:
        article (string): single article from raw data

    outputs:
        (string): full text
        (string): metadata
    """
    metadata = []
    full_text = []
    hit_metadata = False
    regex = r'Title: '
    for line in article:
        if re.match(regex, line):
            hit_metadata = True
        if hit_metadata:
            metadata.append(line)
        else:
            full_text.append(line)

    return full_text, metadata