Here is my string:
usercss:body background: red, #header: background: #fff;
I want to remove usercss:
body background: red, #header: background: #fff;
Then explode
by , (comma)
to produce a list like so:
body {
background: red;
}
#header {
background: #fff;
}
Might be tricky to get the curly brackets in {} but if somebody could help me explode it into a list like:
body background: red; #heeader background: #fff;
That would be a great help!