Aspose::Words::LowCode::Replacer class

Replacer class

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

class Replacer

Methods

MethodDescription
static Replace(const System::String&, const System::String&, const System::String&, const System::String&)Replaces all occurrences of a specified character string pattern with a replacement string in the input file.
static Replace(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::String&, const System::String&)Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format.
static Replace(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&)Replaces all occurrences of a specified character string pattern with a replacement string in the input file, with the specified save format and additional options.
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::String&, const System::String&)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format.
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::String&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream, with the specified save format and additional options.
static Replace(const System::String&, const System::String&, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&)Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression.
static Replace(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&)Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression, with the specified save format.
static Replace(const System::String&, const System::String&, Aspose::Words::SaveFormat, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&)Replaces all occurrences of a specified character string pattern with a replacement string in the input file using a regular expression, with the specified save format and additional options.
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream using a regular expression.
static Replace(const System::SharedPtr<System::IO::Stream>&, const System::SharedPtr<System::IO::Stream>&, Aspose::Words::SaveFormat, const System::SharedPtr<System::Text::RegularExpressions::Regex>&, const System::String&, const System::SharedPtr<Aspose::Words::Replacing::FindReplaceOptions>&)Replaces all occurrences of a specified character string pattern with a replacement string in the input stream using a regular expression, with the specified save format and additional options.
Replacer()

See Also