I'm having some trouble getting the right output here.
I have this sample text
test {
abc: rem(1px);
def: rem(2px) rem(3px);
}
And this current sed command
sed -lE "s/rem\((.*)\)/\1/g" test.css
But my output looks like this
test {
abc: 1px;
def: 2px) rem(3px;
}
And my goal is this
test {
abc: 1px;
def: 2px 3px;
}