title: Regular expression to find instances of strings within XML nodes
body: <p>I need to find all instances of strings within an xml node.  To be more specific, I'd like to parse some XAML and place all strings within certain controls (label for one) and set them as attributes instead.  So, instead of this</p>
  
  <pre><code>&lt;Label&gt;My string&lt;/Label&gt;
  </code></pre>
  
  <p>I want this:</p>
  
  <pre><code>&lt;Label Content="My string"&gt;&lt;/Label&gt;
  </code></pre>
  
  <p>The regular expression I have come up with is ">\s*[^&lt;]".  I read this as matching strings that have a greater than sign, followed by any amount of whitespace, followed by any character other than the less than sign.  However, I'm not getting what I expect.  For instance, here is one of the matches: </p>
  
  <pre><code>&gt;\\r\\n\\t\\r\\n    &lt;UserControl..."
  </code></pre>
  
  <p>Any ideas?</p>