CSS ‘fragmenter’ or unconsolidator

css

Is there a tool to convert something like

font:bold 1.9em "Book Antiqua",Verdana,Tahoma,"Trebuchet MS",sans-serif;

to

font-weight: bold;
font-size: 1.9em;
font-family: "Book Antiqua",Verdana,Tahoma,"Trebuchet MS",sans-serif

in CSS files?

BTW, I am not sure what to call this process.

Best Answer

Elbow grease, unfortunately.

More helpfully, I suppose that if your strings are always going to be in the same format (font weight first, size next, fonts 3rd, etc) it's possible that you could write a helper function to parse those strings, but it will be intense...