CorradoA - 2014-03-28

Hi to all.
I need to search a string in my PDF: the first occurrence will be my first page to extract, the last will be my last page.
Then I need to extract a PDF from the first to the last page.
Does someone have a sample for this ?

Thank you.