-
-
Save ferryzhou/b8bae116feb4522caa72 to your computer and use it in GitHub Desktop.
google doc replace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function findAndReplace() { | |
var body = DocumentApp.getActiveDocument().getBody(); | |
body.replaceText("Read more at location [0-9]+", ""); | |
body.replaceText("• Delete this highlight", ""); | |
body.replaceText("Add a note", ""); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment