I scan a lot of court notices and then OCR them. Is there a way to search the pdfs for specific phrases/strings and then rename them based on what's found inside? I don't want it named exactly like the string though.
For example, a notice might contain "NOTICE OF INITIAL HEARING" - I want to rename it "Notice- Initial Hearing"
and another might be "NOTICE TO THE PLAINTIFF: RENEWAL(SUMMONS)" - I want to rename it "Notice- Summons Reissued"
I want like 10 to 15 searches in 1 script.
Is this doable?