Build, test, and debug regular expressions
This regex matches lowercase letters that begin a new sentence after a period, exclamation, or question mark followed by whitespace, or at the very start of the input (with multiline). It also captures the standalone pronoun "i" (including contractions like i'm or i've). It is commonly used in text preprocessing to automatically capitalize the first letter of each sentence and the pronoun "I" in English text.