$text =~ s!([^\s]+\.com)!$1!gi;