Help for this page
use strict; use warnings; ... $str =~ s/(?<=\W\w)\.//g; print $str, "\n";
# Remove periods and capitalize, so we have US instead of us. $str =~ s/(?<=\W)(\w)\./\U$1/g;