title: Extract width and height from string in javascript
body: <p>I have a string like this:</p>
  
  <pre><code>width: 423px; height: 281px; margin-bottom: 5px; margin-right: 5px; display: inline-block; vertical-align: bottom; overflow: hidden;
  </code></pre>
  
  <p>I need to extract the width and height, without the <code>px</code> and dump all the other styles, so I can store them in two different variables, how can I do this?</p>