Here’s the search string.
/abc \(defg\)\@!
The concept you’re looking for is called a negative look-ahead assertion. Try this in vim for more info:
:help \@!
Here’s the search string.
/abc \(defg\)\@!
The concept you’re looking for is called a negative look-ahead assertion. Try this in vim for more info:
:help \@!