Code:
gawk '{ gsub("findme", "word to replace"); print }' file.old > file.new