I'm working on a subtitle document (.srt) which has thousand of lines. But this issue is not about the subtitle documents, I going to export as plain text to read after. To see the dialogs line by line as a normal sentence, I deleted the dialog number and timestamp lines via record a macro.
But some dialog lines seems to apart from each other. I need to join all the separated dialogs as line by line until the last dot, question or exclamation mark of them.
Example 1
See the church spire
over the trees?
Or end of the line could include comma:
Example 2
See the church spire,
over the trees?
I would like to merge these example lines like that:
Expected result
See the church spire over the trees?
How can I create a macro for that?