def _extract_qsub_j_id(out):
    """
    Find j_id in out that looks like:
    Your job {j_id}.{array_details} ("{job_name}") has been submitted
    """
    tokens = out.split(' ')
    for token in tokens:
        if token and token[0].isdigit():
            return token.split('.')[0]

    return None