/ Published in: Regular Expression
This finds individual CSS attributes, i.e. "foo : bar;" or "bar : 2px solid foo;"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
^\s*[a-zA-Z\-]+\s*[:]{1}\s[a-zA-Z0-9\s.#]+[;]{1}