import re


def split_text_id_columns(line: str, id_column: bool = False) -> str:
    """Split column containing ids and text"""
    pattern = re.compile(r"(\d{3,5}\s+)(.+)")
    match = re.match(pattern, line)
    assert match is not None
    if id_column:
        return match.group(1)
    return match.group(2)