Substrings Data Loop

That…sounds like a challenge…

(This one, specifically… Relevance Challenge April 2018)

What I think you need is to split the lines on “.” and then examine the preceding and following texts.