## Replace(*string, string, string, string*) {#replace_8} يستبدل جميع حالات نمط سلسلة أحرف محددة بسلسلة بديلة في ملف الإدخال. ```csharp public static int Replace(string inputFileName, string output......string, [SaveOptions](../../..aspose.words.saving/saveoptions/), string...string outputFileName, SaveOptions saveOptions, string pattern, string...