I'm programming a telegram Bot helping me learn German.
Instead of translating the entire paragraph, I would like to translate step by step each sentence, with its translation following immediately, so that I can confront words and learn, instead of keep scrolling up and down.
I'm a regex newbie.
I would like to know if there exist such one.
My text to split into sentences could be like this:
This is a sentence.
This is another. And here one another, same line, starting with space.
this sentence starts with lowercase letter.
Here is a site you may know: google.com.
I would like to get an array containing something like (I'm here writing one element of the array per row you are seeing now):
This is a sentence.
This is another.
And here one another,same line, starting with space.
this sentence starts with lowercase letter.
Here is a site you may know: google.com.
Thanks indeed in advance.