title: remove xml lines that has registry keys in the attribute
body: <p>I would like to delete the xml lines with attribute <code>reg</code> that has registry keys and create a new xml file. Below is the example code for reference.</p>
  
  <pre><code>&lt;file name="CMS_1.zip" version="1.01" reg="~/data/CMS_1.zip"/&gt;
  &lt;file name="CMS_2.zip" version="1.01" reg="~/data/CMS_2.zip"/&gt;
  &lt;file name="2012_3.swf" version="1.01" reg="~/data/Assets/CMS/V/Assets/FlashFiles/2012_3.swf"/&gt;
  &lt;file name="WS4.zip" version="1.01" reg="~/3b65566e-6y7c-a460-80bf-3612e36pp9ku/data/WS4.zip"/&gt;
  &lt;file name="Inv5.zip" version="1.02" reg="~/d465534r-a20c-558r-80bf-3612e687d45g/data/Inv5.zip"/&gt;
  &lt;file name="Inv6.zip" version="1.01" reg="~/4567j66e-y89o-4074-80bf-3612e247f1c7/data/Inv6.zip"/&gt;
  &lt;file name="Inv7.zip" version="1.01" reg="~/3b0po99e-a20c-4p91-80bf-pp9ku363f4r5/data/Inv7.zip"/&gt;
  </code></pre>