Jun-23-2019, 03:27 PM
I'm trying to split a long string using both a colon and new line as delimiters. It is splitting on the colon but not the new line. I guess I need some help on the proper syntax for the new line character. TIA
import re . . . entities=re.split('\n |: ',result)