I have commands like this:
\bold{Foo Bar}
\bold{Foo Bars}
\bold{Foos Bar}
....
\bold{Zoo Cars}
and I want to turn them into
Foo Bar
Foo Bars
Foos Bar
...
Zoo Cars
:%s/\bold{*}//gc does not even find any matches. How do I do this?
Note: I googled all around but none of the searches helped.
You’re writing a regexp, but you think it’s a glob. You’re also not providing a replacement at all. Try
:%s/\\bold{\(.*\)}/\1/gc.