title: Replacing xml tag value by regex
body: <p>I have xml like this and i want to  replace carrot tag  value  by something else  i use  this  expression <code>(&lt;.[^(&gt;&lt;.)]+&gt;)</code> but it  doesn't  work properly what  should  i change to manage getting  value and  replacing it  with new  value?:</p>
  
  <pre><code>&lt;Monkey xmlns="http://urlhere.com/monkeynamespace"&gt;
   &lt;foodType&gt;
    &lt;vegtables&gt;
     &lt;carrots&gt;1&lt;/carrots&gt;
    &lt;/vegtables&gt;
   &lt;foodType&gt;   
  &lt;/Monkey&gt;
  </code></pre>