In VIM:
:g!/^[+-]/d
Here is the English translation:
globally do something to all lines that do NOT! match the regular expression: start of line^ followed by either + or -, and that something to do is to delete those lines.
In VIM:
:g!/^[+-]/d
Here is the English translation:
globally do something to all lines that do NOT! match the regular expression: start of line^ followed by either + or -, and that something to do is to delete those lines.