title: Search and replace in VIM results in trailing characters
body: <p>This is what I am attempting to do:</p>
  
  <pre><code>%s/Article/&lt;h2&gt;Article&lt;/h2&gt;/gi
  </code></pre>
  
  <p>Unfortunately, every time i execute this command through my vim editor, it says:</p>
  
  <blockquote>
    <p>Trailing characters</p>
  </blockquote>
  
  <p>To mitigate the above, I executed the following:</p>
  
  <pre><code>%s/\s*\r*$//
  </code></pre>
  
  <p>And it executes successfully, but when I go back to the original search and replace command, it again reads 'Trailing characters' and does not execute the search and replace operation.</p>
  
  <p>What am I doing wrong here?</p>