I’m wondering if there are any regex experts/scripting experts that could help me out. Here is my problem: I work on PDFs in the Bookends app, then export my annotations (using a shortcut) to Drafts. I end up with a series of highlights with pages numbers, something like this:
Annotation Summary for Smith 2020:
#@2:
Highlight
yada yada yada
#@3
Highlight
yada yada yada
The action for getting highlights from Bookends -→ Drafts works well, and I tend to Find and Replace the “Highlight” to have a cleaner text. But it leaves me with one fussy issue: the page numbers often don’t reflect the page numbers of the publication (which can be a hassle with longer series of annotations). I feel like this is something Regex could solve. I’m wondering if anyone has any suggestions for an action that could “bump” the numbers to the correct pages (I do realize the action would have to be modified each round given each publication would have different page ranges).