Is there any way to match text using regular expressions in the content of a OCRed PDF? I presume one difficulty could be the way the OCR engine handles a linebreak.
This would specifically help with renaming a file based on a content match.
The simplest regex of course is a text search for a word, which works great. If I now add for example a receipt from a restaurant or a store, I have a smart rule setup in DT3 to automatically rename the file with the text match (restaurant or store name).
I am aware of the regex rename script, but that takes the filename as a source. Any way to use the content?
For those who are interested in regex beyond the link above, check out this link for example. Also very handy in iOS Shortcuts by the way.