PPT
PPTX
ODP
POT
ppsx
PPTX
Search Text PPTX using Java
Build your own Java apps to search and replace text in presentation files using server-side APIs. Learn how to find all the entrances of a certain word or phrase in presentation documents. Search text by exact data matching and regular expression matching.
Search and Replace Text PPTX Presentation via Java
A basic document search and replace text in contents, comments, slide notes or metadata with Aspose.Slides for Java APIs can be done with just few lines of code. Use regular expression matching, match case to search text in presentation. Search text in titles, content, footer or header.
Search text PPTX Presentation using Java
Presentation presentation = new Presentation("welcome-to-powerpoint.pptx");
try {
SlideUtil.findAndReplaceText(presentation, true, "PowerPoint", "Aspose.Slides", null);
presentation.save("replaced.pptx", SaveFormat.Pptx);
} finally {
if (presentation != null) presentation.dispose();
}
How to Search Text in PPTX via Java
These are the steps to search text PPTX files.
Load PPTX with an instance of Presentation.
Use FindAndReplaceText method to find and replace text.
Save result in PPTX format