"Search and replace" and "regex" (regular expressions) are how you achieve this kind of task. Websearching those terms will yield lots of information.
Vim's search and replace functionality is done from "normal" mode by typing : and then the search replace pattern, like :%s/searchforthis/replacewiththat/g (it's similar to sed ...
I recommend neovim-qt (GitHub - equalsraf/neovim-qt). It is plain vanilla, cross-platform, stable, actively developed, and fast enough.
To install on Mac using Homebrew:
brew tap equalsraf/homebrew-neovim-qt
brew install neovim-qt
To install on Debian/Ubuntu:
sudo apt-get install neovim-qt
Neovim-qt is included in Window's port of Neovim (by running nvim-...