title: Notepad++ Select text within multiple tags
body: <p>hope someone can help. I have a pretty big XML file that needs tidying up. Basically some line breaks are present which we need to get rid of. There are roughly 19,000 "<code>&lt;Location&gt;</code>" tags with text between. Is there a way to have NPP search for all <code>&lt;Location&gt;</code> tags, select it up to the closing  tag and perform join lines? Join lines fixes the problem, but it's going to take all day checking each one.</p>
  
  <p>EDIT: Sorry, don't think I explained it very well! So basically there are more tags present in this XML document, for example: </p>
  
  <pre><code>&lt;AccomRef&gt;
  &lt;Code&gt;BT1&lt;/Code&gt;
  &lt;Location&gt;Sometimes the text in here has line breaks
  like this&lt;/Location&gt;
  &lt;/AccomRef&gt;
  </code></pre>
  
  <p>I guess ideally I need to keep the tags nice and tidy with breaks after each closing tag, but just ensure that all location text is joined without breaks. I tried CTRL+A > CTRL+J but that then makes the file incredibly hard to read! Hope this makes more sense.</p>