Forum Moderators: coopster
$dot = ". "; $dot = ". ";You also might have sentences ending a quote or inside parenthesis. Example:
Every sentence in English ends, with either dot, ellypses, question mark, or exclamation mark
(?<![A-Z][a-z]|[A-Z][a-z][a-z])[.!?…]+[)\]'"”’]* If a sentence ends a paragraph, there won't be a space after the punctuation
\s ($|</p>) Whoops! forgot one item And then … there were none