How to print all lines containing a specific word in a pdf document (occuring multiple times)

I need to get all the line containing a specific word in a pdf file.
suppose the word is “liability” and i have print all lines which include that word. If i use matches activity then what should be the regex pattern?
Thanks in advance.

Hello @Kaustav_Mandal,

Considering that pdf reading activity interprets newline character properly that should be valid regex pattern:


1 Like

I have posted another query regarding a problem related to this problem statement. The link is Extracting lines which includes a specific word from a document

Any help would be appreciated.