Have text file with contents like:
^[ sequences are highlighted and treated as one character as they are ascii escape sequence. How do I use regex/replace on them?
For example I can do
:%s/origin/potato/g to replace all
potato, but how do I replace the escaped sequence?
:%s/<1b>\[[0-9;]*m//g but it gave
E486: Pattern not found: <1b>\[[0-9;]*m