title: Sublime Text regex to find and replace whitespace between two xml or html tags?
body: <p>I'm using Sublime Text and I need to come up with a regex that will find the whitespaces between a certain opening and closing tag and replace them with commas.</p>
  
  <p>Example: Replace white space in </p>
  
  <pre><code>&lt;tags&gt;This is an example&lt;/tags&gt;
  </code></pre>
  
  <p>so it becomes </p>
  
  <pre><code>&lt;tags&gt;This,is,an,example&lt;/tags&gt;
  </code></pre>
  
  <p>Thanks!</p>