## Replace(*string, string*) {#replace} Replaces all occurrences of a specified character string pattern with a replacement string. ```Csharp public int Replace(string pattern, string replacement) ...... ```csharp public int Replace(string pattern...contents of a document. ```csharp Document doc = new Document();...