$mystring =~ s/keyword/formatted keyword/g; print "$mystring";