title: Remove all html attributes with regex (replace)
body: <p>For example i have such html:</p>
  
  <pre><code>&lt;title&gt;Ololo - text’s life&lt;/title&gt;&lt;div class="page-wrap"&gt;&lt;div class="ng-scope"&gt;&lt;div class="modal custom article ng-scope in" id="new-article" aria-hidden="false" style="display: block;"&gt;&lt;div class="modal-dialog first-modal-wrapper"&gt;&lt; div class="modal-content"&gt;&lt;div class="modal-body full long"&gt;&lt;div class="form-group"&gt;olololo&lt;ul style="color: rgb(85, 85, 85);background-color: rgb(255, 255, 255);"&gt;&lt;li&gt;texttext&lt;/li&gt;&lt;li&gt;Filter the events lists by host.&lt;/li&gt;&lt;li&gt;Create graphs for separate hosts and for the groups of hosts.&lt;/li&gt;&lt;/ul&gt;&lt;p style="color: rgb(85, 85, 85);background-color: rgb(255, 255, 255);"&gt;bbcvbcvbcvbcvbcvbcvbcvb&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;title&gt;cvbcbcvbcvbcvbccb&lt;/title&gt;&lt;div class="page-wrap"&gt;&lt;/div&gt;&lt;/div&gt;
  </code></pre>
  
  <p>how could i remove all style class id etc from such html?</p>
  
  <p>i have such regex:</p>
  
  <pre><code>/&lt;([a-z][a-z0-9]*)[^&gt;]*?(\/?)&gt;/i
  </code></pre>
  
  <p>what is wrong? how to delete all html attributes with the help of regex?</p>
  
  <p>here is fiddle: </p>
  
  <p><a href="http://jsfiddle.net/qL4maxn0/1/" rel="nofollow">http://jsfiddle.net/qL4maxn0/1/</a></p>