title: How do I remove the last six characters of every line in Vim?
body: <p>I have the following characters being repeated at the end of every line:</p>
  
  <pre><code>^[[00m
  </code></pre>
  
  <p>How can I remove them from each line using the Vim editor?</p>
  
  <p>When I give the command <code>:%s/^[[00m//g</code>, it doesn't work.</p>