Hi Madhur,
Thanks for your interest in our API and sorry for the delayed response.
Aspose.Pdf for Java supports the feature to search through PDF file and replace certain strings inside the document. As per your requirement, you may consider using the Regular Expression, search particular strings and then replace the text. For further details, please visit