title: Using sed to change text between tags
body: <p>I can't really figure out how to change <code>CHANGEME</code> to <code>CHANGED</code> in the file <code>myFile.xml</code> using sed, on mac.</p>
  
  <pre><code>&lt;string name="myTag"&gt;CHANGEME&lt;/string&gt;
  </code></pre>
  
  <p>I tried:</p>
  
  <pre><code>sed -i -e "s/\(&lt;string name=\"myTag\"&gt;\)\(&lt;\/string&gt;\)/\1CHANGED\2/g" ./myfile.xml
  </code></pre>
  
  <p>but the output is just silent.
  any help?</p>