Regular expressions in Ex Mode
Edit a regular expression in Ex mode
Suppose you are searching for a Title Case pattern in a large text file and you want to edit a incorrect regular expression:
- First, go into
Exmode by typingq: - You will now see all the commands that you typed in
commandlinemode, pressjto go the regular expression you want to edit (/\v[A-Z]\w+\s[A-Z]\w+) - Once done, press
ESCto go to normal mode - Then press
Enterto run the search patten
Here is a screen shot demonstrating a Title Case search

