- print_r: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$string = "Hello my Name Is Paloppa: CIao I'm 20 And? Hello! Words' Man Ab";
// Word boundary before the first uppercase letter, followed by any alphanumeric character
preg_match_all('/(?<!^)\b[A-Z][a-zA-Z]{1,}\.+[A-Z][a-zA-Z]{1,}\b(?!["!?.\\\'])/', $string, $matches);
print_r( $matches[0] );