title: Extract text between 2 markers
body: <p><strong>input</strong>: </p>
  
  <pre><code>random adsf 845 asdsf.$Ecdda-string0.rand me39 84abd    
  dee rand a[s% 845 a1sEdsf.$cdNda-string1.rand me39 84abd
  </code></pre>
  
  <p><strong>output</strong> - keep everything between <code>da-</code> and <code>.</code> </p>
  
  <pre><code>string0    
  string1
  </code></pre>
  
  <p><strong>what I have tried so far</strong>: </p>
  
  <pre><code>sed -e 's/.*da-\(.*\)./\1/' file 
  grep -o -P '(?&lt;=da-).*(?=.)' file
  grep -o -P '(?&lt;=da-).*(?=\.)' file
  </code></pre>