This looks like you'll need regex to save each sentence to a variable then 'else/if' statements to move it along after each capture. However, more info is needed plz.
Are we to assume correct punctuation? Are there actual New Lines '\n' or is the data just 'Word Wrapped'?
If you could...