Aspose.PDF Java: Extracting particular line in PDF

Hi,
I’m trying to extract particular line in PDF for example if I find a text hello in pdf I want to get lines which hello is included.
How can I write code in Java?
Thanks.

@jinnyjinnyjinjin,

Thanks for contacting support.

Can you please visit this documentation article Search and Get Text from Pages of PDF Document. This will help you to achieve your requirements. Please share feedback with us if there is still an issue.