css プロパティとその値を含む文字列があります。
str = "filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cccccc', endColorstr='#000000');
background: -webkit-linear-gradient(top, black, white);
animation-duration: 12s;";
一致させたいのは、プロパティのみを返すことです
properties = text.match(/[^;:]*:/g);
しかし、「progid:」も返します。どうすれば回避できますか?