Originally Posted by xelawho
in that case I would want happy dogs bark
but sentences will always begin with a capital, and end with . or ! or ?
If that is true, why did you include this example:
"was happy to see me. I left in a hurry"
"was happy to see me." does not start with a capital letter.
My answer includes code to handle that case. It could be less code if you were *SURE* that a sentence always starts with a capital letter.