Search This Blog

Wednesday, May 30, 2018

Using regex in vim

Search and replace using quantifiers.

Example:
This will erase all checkID's with single and/or double digits.

:%s/"checkID":[0-9]\{1,2\} //g

Before






Running command.



No comments: