title: Regex match HTML attributes names
body: <p>I have the following element stored as a String:</p>
  
  <pre><code>&lt;div class="some-class" id="my-id" data-theme="black"&gt;
     &lt;strong data-animation="fade" disabled&gt;Hello world!&lt;/strong&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to extract all the attributes names like this:</p>
  
  <pre><code>["class", "id", "data-theme", "data-animation", "disabled"]
  </code></pre>
  
  <p>This is what I tried to do, but I get also the values and dosent match the data-animation and disabled:</p>
  
  <p><a href="http://jsbin.com/hibebezibo/edit?js,console" rel="nofollow noreferrer">http://jsbin.com/hibebezibo/edit?js,console</a></p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Manged to get attributes using:</p>
  
  <pre><code>[\w-]+(?=\s*=\s*".*?")
  </code></pre>
  
  <p>But I still cant get the "disabled" prop.</p>
  
  <p>Can someone explain me how to achieve this?
  Thanks!</p>