Vim Search and Replace regular expression to delete bash colors from file/buffer
08 Jun 2021Ever wanted to delete bash colors from a file buffer, the ones that look like ^[[1;38m
?
%s/\v.\[(\d*;)*(\d*)m//g
Ever wanted to delete bash colors from a file buffer, the ones that look like ^[[1;38m
?
%s/\v.\[(\d*;)*(\d*)m//g