Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
To replace text using Aspose.Words Java in php, simply invoke the replace() method.
Php Code
// The path to the documents directory.
$doc = new Java("com.aspose.words.Document","ReplaceSimple.doc");
// Replace the text in the document.
$doc->getRange()->replace("_CustomerName_", "James Bond", false, false);
}Download **Find And Replace(Aspose.Words)**fromany of the below mentioned social coding sites:
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.