We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Traversing line by line

My requirement is to traverse through pdf file line by line and replace the the line's text if it contains a certain string.
Is this functionality attainable using Aspose PDF?

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