I have a dataframe with character strings that look like this:
bla bla.\n14:39:51 info: pyku bla .\n14:39:51 info: \n14:39:51 info: \n14:39:57 Sam: <span>pyk pyk</span>\n14:43:15 on and on \n14:43:59 you get an idea
I want to split lines separated by \n(number):(number):(number)
sequence into different rows. I tried
stringr::separate_rows(df3$Transcript[1], Transcript , sep = "\\n")
and its different combinations with [A-z]
and [:punct:]
to no avail. What would be the most straight forward way of doing it?
Thanks