FIndReplaceOptions optionsWhile = new FIndReplaceOptions();
optionsWhile.setReplacIngCallback(new ReplaceHandler());
WordDoc.getRange().replace(Pattern.compile("[tag(.+?)](.+?)[/tag]"), "", optionsWhile);
In ReplaceHand…...(Java) | Find and Replace Keywords in Word DOCX ODT Documents Aspose...Aspose.Words Product Family hlgao November 19, 2020, 8:34am 1 FindReplaceOptions...