Replace all instances of "STRING_TO_REPLACE" with "STRING_TO_REPLACE_IT" in "index.html" and write the output to standard output and "index.html"
sed s/STRING_TO_REPLACE/STRING_TO_REPLACE_IT/g index.html | tee index.html