

JavaScript
This group is focused on customization specifically using JavaScript. If you have cool tools and want... View more
Search for Text with Regex?
-
Search for Text with Regex?
I’d like to write a script that searches an active/given PDF for strings that match a regular expression. This script should output the sum of all those matches (a count, or tally).
Neither Revu’s nor Adobe’s respective documentation seem to indicate the presence of a method for traversing or otherwise recognizing text (embedded or otherwise). Which methods carry over from the latter to the former is also unclear without rote testing.
Liz Larsen’s scripting videos offer otherwise unavailable demonstrations but seem to use methods restricted to specific workflows. Using Acrobat and avoiding Bluebeam entirely is unfortunately not an option. Asking an LLM results in non-functional code that it cannot explain or clarify (in the context of Revu, at least). Official Bluebeam support on this topic — be it documentation or rep contact — is almost nonexistent.
Any guidance would be appreciated. Thanks
Log in to reply.