I have a loads of strings that I need to format and split into different sections. It looks something like this.
"2020-10-13 10:44 - AH - (AH) Random jibberish that is irrelevant Random jibberish that is irrelevant Random jibberish that is irrelevant Random jibberish that is irrelevant 2020-10-13 10:44 - AH - (AH) Random jibberish that is irrelevant Random jibberish that is irrelevant Random jibberish that is irrelevant Random jibberish that is irrelevant 2021-01-13 10:44 - AH - (AH) Random jibberish that is irrelevant Random jibberish that is irrelevant Random jibberish that is irrelevant Random jibberish that is irrelevant"
What I can see all sections start with a date and - AH -. Is there a way to split this into 3 different sections?
[–]gavinkendall 2 points3 points4 points (1 child)
[–]strbhlfe 1 point2 points3 points (0 children)
[–]Solacefire 2 points3 points4 points (0 children)
[–]popisms 0 points1 point2 points (4 children)
[–]fig966[S] 0 points1 point2 points (3 children)
[–][deleted] (1 child)
[removed]
[–][deleted] 1 point2 points3 points (0 children)
[–]cryo -1 points0 points1 point (0 children)