IReplacingCallback.replacing method. A user defined method that is called during a replace operation for each match found just before a replace is made.... Examples Shows how to insert an entire document’s contents...(InsertDocumentAtRepl). def _insert_document ( insertion_destination , doc_to_insert...