import re


def _split_with_delimiter(string, regex_delimiter):
    """Split the given string with regex delimiter
    
    Arguments
    ------------------
    string : str
        The string that should be split
        
    regex_delimiter : str
        The delimiters as regex that should be used to split the string
        
    Returns
    ------------------
    split : list
        List of split strings
        
    """

    return re.split(regex_delimiter, string)