I have a json documen开发者_开发百科t with the following data.
"tag": null
I would like to find all the tags that don't have null.
You can use the :v
command:
:v/"tag": null/
Alternatively, you can use a search with a negative look-ahead assertion (you can use set hlsearch
to highlight the matches):
/"tag": \(null\)\@!
精彩评论