title: Replacing placeholder with multiple lines
body: <p>I have a template that looks like:</p>
  
  <pre><code>&lt;mydata&gt;
  &lt;tag1&gt; 
  &lt;tag2&gt; etc.
  DATAHERE
  &lt;/mydata&gt;
  </code></pre>
  
  <p>I want to run a query on a DB and fetch a number of records and place them one below the other in the file at the place where there is the string DATAHERE.</p>
  
  <p>My records are already fetched in mydata.txt. How do i replace the single line of DATAHERE ? I do not want to hardcode the number of lines in the template to skip. DATAHERE is my only marker.</p>