Non-greedy replacing in vim

I have the following lines:

{color:#000000}blabla{color}
{color:#000000}moreblabla{color}
{color:#000000}even more blabla{color}

I tried the following line in vim to get rid of all the {} tags:

:%s/{.*\{-}}//g

But vim complains: "invalid command"

What am I doing wrong?

EDIT: this worked:

:%s/{.\{-}}//g

Hi.

Try:

:%s/{[^}]*}//g

Thanks!

I actually just removed * and that also worked:

:%s/{.\{-}}//g

So it does!

That must be a "vi thing". Personally, I'd stick to the RE version.

What is "RE version"?