title: Remove styling from input
body: <p>I have a WYSIWG that I know people will copy and paste into. When I they do on there server side I want to strip everything in between the tags so its juts <code>&lt;p&gt;&lt;/p&gt;</code> or <code>&lt;span&gt;&lt;/span&gt;</code>. </p>
  
  <p>My test Copy/Paste looks like:</p>
  
  <pre><code>&lt;p style="color: rgb(26, 26, 26); font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;"&gt;"&lt;span style="font-weight: 700;"&gt;Nancy&lt;/span&gt;"&lt;/p&gt;&lt;p style="color: rgb(26, 26, 26); font-family: &amp;quot;Open Sans&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;"&gt;5 rounds for time of:&lt;br&gt;400 meter run&lt;br&gt;95 pound Overhead squat, 15 reps&lt;/p&gt;
  </code></pre>
  
  <p>I saw this:</p>
  
  <pre><code>preg_replace('/(&lt;[^&gt;]+) style=".*?"/i', '$1', $input )
  </code></pre>
  
  <p>but it returns:</p>
  
  <pre><code>&lt;pOpen Sans", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;"&gt;"&lt;span&gt;Nancy&lt;/span&gt;"&lt;/p&gt;&lt;pOpen Sans", Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;"&gt;5 rounds for time of:&lt;br&gt;400 meter run&lt;br&gt;95 pound Overhead squat, 15 reps&lt;/p&gt;
  </code></pre>
  
  <p>So it stripped the <code>Style:</code> part but left the actual styles. </p>