I would like to split my text at 8 words and numbers after it encounters a time.
Example of the text:
s <- 'random random random 19:49 0-2 H 2 ABC TREE LAKE #88 TURTLE random random 03:32 43-21 V 8 XYZ LOG #72 FIRE random random random'
Example of how I would like the text to be split.
'random random random 19:49 0-2 H 2 ABC TREE LAKE #88 TURTLE
random random 03:32 43-21 V 8 XYZ DOG LOG #72 FIRE
random random random'
I know I can find the time multiple ways such as
str_extract(str_extract(s, "[:digit:]*:"), "[:digit:]*")
But I am unsure as how to do the split eight words and numbers after the time. Any help will be greatly appreciated.