title: Regex - Match text between 2 characters
body: <p>I need a regex pattern(s) that will match on words before a colon and also values between 2 characters. Here's the example, I have a string: </p>
  
  <pre><code>str='`width: 1070px; padding: 0px 10px 0px 10px; height: auto; margin:0px auto 0px auto;`' 
  </code></pre>
  
  <p>from a stylesheet, I need one array to store the property only (the text before a colon), </p>
  
  <pre><code>(prptyArray[0]='width', prptyArray[1]='padding') 
  </code></pre>
  
  <p>and another to store the value only (the text between 2 characters) </p>
  
  <pre><code>(valueArray[0]='1070px', valueArray[1]='0px 10px 0px 10px')
  </code></pre>
  
  <p>Thanks in advance.</p>