Capitalise a word after a fullstop

$content = preg_replace("/\. ([a-z])/e", "'. '.ucfirst('\\1')", $content);




Back to recent pastes