$this_term =~ s/\.([a-z])/.\U$1/g; [download]
In reply to Re: replacing part of a string with its uppercase via regex by choroba in thread replacing part of a string with its uppercase via regex by brewzzer