Daniel Khent Writing

Using embedded comments in Google Docs

Using regex to pull comments

In the working draft in google docs, add '//' at the end of a line and write a comment.

When you want to send out a clean draft to beta readers etc, make a copy of the doc and use replace with regex to take out the comments.

REGex to remove inline comments:

  • include newlines: //.*?\n
  • exclude newlines: //.+?(?=\n)