I need to use php to add a space between the period and the next word / letter when not there.
For example, "This is a sentence. This is the next." should become "This is the sentence. This is the next." Pay attention to the added space after the first period.
My problem is that even if I can make a regular expression that finds every dot followed by a letter, how can I replace that dot with “dot + space” and save the letter?
It is also necessary to keep the case of letters lower or higher.
Thanks for your input.
Enkay source share