## replace(pattern, replacement) {#str_str} Replaces all occurrences of a specified character string pattern with a replacement string. ```python def replace(self, pattern: str, replacement: str): ......Text.RegularExpressions.Regex,System...Aspose.Words.Range.Replace(System.Text.RegularExpressions.Regex,System...