Command-line text editor. See also: vim. More information: https://www.vim.org.
vim
ex {{path/to/file}}
wq<Enter>
undo<Enter>
/{{search_pattern}}<Enter>
%s/{{regular_expression}}/{{replacement}}/g<Enter>
i<Enter>{{text}}<Ctrl c>
visual<Enter>