It's pretty easy in vim once you learn how to use visual block mode. That or using Sed to replace text in a selection or the entire file.
http://paulrougieux.github.io/vim.html#Edit_multiple_lines