I'm trying to do a simple replace for all equal signs and subsequent characters until end of line:
%s/\=.+\n/\n/. However this gives
E866: (NFA regexp) Misplaced =.
If I try instead to simply replace all equal signs with
%s/(\=)//, I get pattern not found though I know my text file contains equal signs.
Could someone tell me what I'm doing wrong? Thanks in advance