## Replace(*string, string*) {#replace} يستبدل جميع حالات نمط سلسلة الأحرف المحددة بسلسلة بديلة. ```csharp public int Replace(string pattern, string replacement) ``` | معامل | يكتب | وصف | | --- | ......أمثلة ```csharp Document doc = new Document(); DocumentBuilder...المستند. ```csharp Document doc = new Document(); DocumentBuilder...