Replacer class

Replacer class

Provides methods intended to find and replace text in the document.

Methods

NameDescription
replace(input_file_name, output_file_name, pattern, replacement)Replaces all occurrences of a specified character string pattern with a replacement string.
replace(input_file_name, output_file_name, save_format, pattern, replacement)Replaces all occurrences of a specified character string pattern with a replacement string.
replace(input_file_name, output_file_name, save_format, pattern, replacement, options)Replaces all occurrences of a specified character string pattern with a replacement string.
replace(input_stream, output_stream, save_format, pattern, replacement)Replaces all occurrences of a specified character string pattern with a replacement string.
replace(input_stream, output_stream, save_format, pattern, replacement, options)Replaces all occurrences of a specified character string pattern with a replacement string.

See Also