title: how to remove all style except font-weight using jquery in all elements
body: <p>i am using nicedit as editor in my app and the users of our website use to paste data from MS word or some other sources, hence the ui breaks up, so we have decided to remove all formatting from the html using jquery.</p>
  
  <p>What i did is removed all inline style and class, but it is creating problem as it is removing bold and italics too, where as we want to retain it.</p>
  
  <p>is their any simple way of removing all style except bold using jquery.</p>
  
  <p>example : </p>
  
  <pre><code>&lt;div style="color:red; font-size:13px; font-weight:bold;"&gt;test div &lt;/div&gt;
  </code></pre>
  
  <p>in the above element i want it as</p>
  
  <pre><code>&lt;div style="font-weight:bold;"&gt;test div &lt;/div&gt;
  </code></pre>