Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a Google Document I keep a journal. Entries are separated by days, although I sometimes write very often and at other times not so often.

The journal is a continuous document where each entry has the day written in bold and 14 pt while the entry text is not bold and 10 pt.

I wonder if there is any way to extract the text into separated parts or notes, each one corresponding to each different day.

share|improve this question

migrated from superuser.com May 15 '11 at 1:10

This question came from our site for computer enthusiasts and power users.

You'll want to write a script using Google Apps Script. Getting started: http://code.google.com/googleapps/appsscript/guide_getting_started.html (the example is for google spreadsheets, but the mechanics are the same for documents)

The relevant API is here: http://code.google.com/googleapps/appsscript/service_document.html

Not sure, but it sounds like you want to loop over the paragraphs via getParagraphs() looking for your entry headers.

share|improve this answer
yes, that is the point. I will have a look at it. Although I can also convert the gdoc a simple RTF file, and from there do also the conversion. For that I do not need google, but other things. Will keep you up to date. – Werner May 26 '11 at 8:04

If the purpose is to organize the entries for easy accessibility, you can have a "Table of contents".

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.