I want to remove the ending section of my output that typically follows the below pattern:
^[[2D[^[D
but my regex will not allow me to select the ^[
parts of the word. Note on my Vim that part shows in a different color almost like it is a a digraph or special character.
Any thoughts on how I can create a mapping to remove this from my outputs?
Note when I copied the output to my clipboard and pasted into my browser it translated the ^[
to ``
I am writing to you today as an email full of typos. Ye^[[2D[^[K
Yes, you heard that right – I'm a bit of a typo-ridden mess. But don't worry, I've got fa^[[2D^[[K