def regex_split(original_output, regex_split_cmd):
    """
    Takes in a regex string and output, returns a list of output split

    :param original_output:
    :param regex_split_cmd:
    :return:
    """

    def _regex_split():
        return original_output.split(regex_split_cmd)

    return _regex_split()