title: Parse inline CSS values with Regex?
body: <p>I have such an inline CSS like this</p>
  
  <blockquote>
    <p>color:#777;font-size:16px;font-weight:bold;left:214px;position:relative;top:70px</p>
  </blockquote>
  
  <p>The CSS may end with a semicolon ";" or not. It also can contain extra space between its values. I'm about using "explode" function to parse the CSS into an array, something like :</p>
  
  <blockquote>
    <p>Array(<br>
    "color" => "#777",<br>
    "font-size" => "16px",<br>
    "font-weight" => "bold",    </p>
  </blockquote>
  
  <p>and so on.</p>
  
  <p>Can anybody suggest me a way to use regular expression to complete this task?</p>