Search for pharse of text or keyword using aspose. Using java 8

I have a requirement to search for list of keywords ( keywords would be like ‘Customer Care’, ‘Admin System’ ) in the document (doc,pdf). The list of matched keyword in the document that needs to be send a response.
Is there any functionality in aspose to check for a given keyword and add to list… Thanks in advance.

We are using Spring Rest web service

@phsathish,

Please refer to the following sections of documentation:

Find and Replace feature of Aspose.Words for Java
Search and Get Text from Pages of a PDF Document

Hope, these help in achieving what you are looking for.