Replaces all instances of text matching the FindWhat string with the ReplaceWith string in a case-sensitive way. It is also…