I put the sample in code tags - does the spacing and hyphenation look correct compared to the sample now?
This problem looks similar to a challenge I posted a couple years back - determining paragraphs/stanzas from a text file, at Relevance Challenge December 2019 BONUS: Parsing Paragraphs (answer provided)
There are several solutions there. I’m afraid they’re all fairly long, but I think at least a couple of them should work for this case. I should be able to look at this later today if those don’t solve it, let me know.