title: splitting up text with a regular expression in google app script (documentApp) with findText
body: <p>In a google doc (not a spreadsheet) I have a wall of text that looks like </p>
  
  <pre><code> °foo bar header°foo bar bat paragraph°and another paragraph°and yet an other paragraph°and so on
  </code></pre>
  
  <p>and I want to split up the text into paragraphs. </p>
  
  <p>So I would like to get the text between the ° chars with help of a regexp. I would like to use </p>
  
  <pre><code>     var rangeElement = body.findText("°([^°]*)°");
  </code></pre>
  
  <p>but that regexp makes google docs go "Service unavailable: Docs". Using a regexp like <code>"°.?°"</code> alleviates that problem, but does not isolate the text I want. </p>
  
  <p>What is a regexp that would work? How can I proceed to process the substring from within the <code>(</code> and <code>)</code>?</p>