With the following input:
#element{ color: #333; }
#element2,
.element3,
.whatever{ background: red; }
.test,
.test2, .test3,
#test111,
.element5555, #fooooooter{ display: none; }
#element8 tr .bacon{ font-size: 10000em; }
How do I use regex to match these:
#element
#element2
#element8
#test111
And not match these:
#333
I tried more variations so far and I can't come up with anything useful.
This is what I tried the latest:
(#).*[{]
But it seems to skip some selectors.