Home › Forums › CSS › Selecting css properties AND curly brackets from CSS file in Komodo Edit › Re: Selecting css properties AND curly brackets from CSS file in Komodo Edit
January 7, 2013 at 8:56 pm
#120189
Participant
Open the Find dialog
Check the “regex” checkbox
This regex will find everything inside matching curly braces, and the braces themselves:
`{[^}]*}`
If you want to simply delete everything, you can use the Replace dialog instead, and replace the matches with an empty string.
You can precede the regex with the class name to find a specific block, e.g.,
`.template{[^}]*}`
…though this will match the `.template` part also.