If you want to include the delimiters in the resulting list when using Python regular expression split, you can use capturing parentheses in the pattern. For example: text = "apple,banana,cherry,date" splits = re.split(r"(,)", text) print(splits) The output will be: ['apple', ',', 'banana', ',', 'cherry', ',', 'date'] In this case, the commas are included in the list as separate elements.