Can anyone provide some tips on how I can create a script to scan a gDoc and remove all embedded URL links.
I am building release notes where each issue has a link to the jira issue number in order to help release notes contributors. However, when I am ready to publish this document to a PDF, I do not want the end users to see the embedded links (they would go nowhere anyway).
Currently, Google doesn't include any options for Save As [to PDF] so I was thinking of writing a script that would:
1) Temporarily find and remove all embedded URLs links (this is the primary goal - the rest is nice to have)
2) Print to PDF
3) Revert/return all the links
Currently, I am reviewing the API here: https://developers.google.com/apps-script/overview
Any help is appreciated.