title: How to trim spaces in xml tags using regular expression in notepad++?
body: <p>I am trying to trim a space in an <code>XML</code> tag, this is an example of what I have:</p>
  
  <pre><code>&lt;xmlT ag&gt;
  content between tag
  &lt;/xmlTa g&gt;
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>&lt;xmlTag&gt;
  content between tag
  &lt;/xmlTag&gt;
  </code></pre>
  
  <p>This is the expression that I wrote for that:</p>
  
  <p>Find: <code>[&lt;](\w)* (\w)*[&gt;]|[&lt;][/](\w)* (\w)*[&gt;]</code><br>
  Replace: <code>\1\2</code></p>
  
  <p>but is not working as expected.<br>
  Is there any other workaround for this?</p>