Automatic way to extract highlighted text from pdf

command linepdf

Is there a command-line solution to extract highlighted text from pdf?

I have a bunch of pdf documents where I personally annotated, and was wondering if there is a convenient way to automatically extract this to the text file

EDIT
This is not a duplicate question in that I am looking for a command-line solution like ImageMagick for image processing.

Best Answer

Under Linux you can use pdfgrep

Related Question