I've been trying do some regexp on css files to extract certain attributes but I'm having trouble matching from { to the first ; and so on .. here is what I've achieved so far:
Example css:
.pancake{height:200px;taste:delicious;}
I managed to write these 2 little pricks to work :
This one gets everything from the dot to the { :
(^\.[a-z]+)
This one gets everything between { } :
{.+}
I tried reading some regexp but can't understand how to match more than once occurrence or match until a certain character within another match ( sub-matching )