while () { $_ =~ ; chomp; s/(th)/TH/gi; print "$_\n"; }