title: Bash - How to get multi line text between XML tags
body: <p>I have a text file...</p>
  
  <pre><code># &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;response&gt;
  &lt;content&gt;Pulsa:Rp200,Bonus:0 s&amp;#x2F;d 12-JUL-17. 1GB Rp10rb.Mau?
  1. Mau
  2. Info
  3. Internet
  4. RAMADHAN HOTSALE
  5. Nelpon
  6. SMS
  7. BB
  8. NEW:UNLIMITED INTERNET
  9. Roaming
  10. 100MB2K&lt;/content&gt;
  &lt;/response&gt;
  </code></pre>
  
  <p>and I want to extract the text between <code>&lt;content&gt;</code> up to <code>&lt;/content&gt;</code>. I have tried:</p>
  
  <pre><code>grep -oP '(?&lt;=&lt;content&gt; ).*?(?= &lt;/content&gt;)' file
  </code></pre>
  
  <p>But it doesn't output anything, I want the end result to be like this:</p>
  
  <pre><code>Pulsa:Rp200,Bonus:0 s&amp;#x2F;d 12-JUL-17. 1GB Rp10rb.Mau?
  1. Mau
  2. Info
  3. Internet
  4. RAMADHAN HOTSALE
  5. Nelpon
  6. SMS
  7. BB
  8. NEW:UNLIMITED INTERNET
  9. Roaming
  10. 100MB2K
  </code></pre>
  
  <p>How can I do this?</p>