Using regular expressions in Vim
Feb 28, 2009, 01:34 (0 Talkback[s])
Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js
[ Thanks to An
Anonymous Reader for this link. ]
"First we need to use the "search-and-replace" command
like we stated above:
"This is in more detail the command s (find and substitute),
extended with "%" which tells it to look through the entire file.
"exp1" is then replaced by "exp2", and "/g" in the end tells it to
do it for all occurrences for every line.
"To boil the problem down, we first focus on what tells the line
apart. We use "Play" as the command to tell the difference. We then
search for "Play", and don't care about the rest, at least up until
the thing we want to replace. This means we search for:"