/ Published in: Regular Expression
This finds the entire style definition - from #foo to the last brace.
i.e. ".foo, #bar { foo: bar; foo: bar; bar: foo; }"
i.e. ".foo, #bar { foo: bar; foo: bar; bar: foo; }"
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/(#|.)?[a-zA-Z0-9\_\,\.\:\# ]+[{]{1}[a-zA-Z0-9\n\r\s\:\;\#\(\)\\\/\"\'\-\_\.\,]*[}]{1}/