Q:

Selecting all css properties with brackets to erase them

How would one search, within a CSS file and using Komodo Edit, everything inside and including the brackets from every CSS style rule.
I need to end up with a list of CSS classes and IDs erasing all properties from a very large CSS file.
I need to turn this:
.template{
color: #FFF;
}
.template1{
color:red;
}

into this:
.template
.template1

Thanks in advance.

A:

I fiddled around a bit and with this RegEx pattern:
\{[^\}]*\}

I can select everything I needed, including strings such as:
{
background:url("../img/mas.png") no-repeat scroll center top transparent;height:19px;padding:0;position:relative;width:20px;z-index:98;
}

