title: Notepad++: extract parts of text from a xml format (reg exp)
body: <p>I have a xml format file and i want to keep only particular nodes of it and delete all the rest, so i just will have what i need.</p>
  
  <p>The xml can be like this:</p>
  
  <pre><code>&lt;xml&gt;
      &lt;worker&gt;
          &lt;name&gt;test&lt;/name&gt;
          &lt;age&gt;33&lt;/age&gt;
          &lt;job&gt;programmer&lt;/job&gt;
      &lt;/worker&gt;
      &lt;worker&gt;
          &lt;name&gt;test2&lt;/name&gt;
          &lt;age&gt;41&lt;/age&gt;
          &lt;job&gt;project manager&lt;/job&gt;
      &lt;/worker&gt;
          ...
  &lt;/xml&gt;
  </code></pre>
  
  <p>Result needed is:</p>
  
  <pre><code>&lt;age&gt;33&lt;/age&gt;
  &lt;age&gt;41&lt;/age&gt;
  </code></pre>