title: Capitilize lines starting with ** in vim
body: <p>I am trying to <strong>capitalize every line</strong> starting with int.  or INT.  </p>
  
  <p>Following command </p>
  
  <pre><code>    %s/\&lt;int.*\&gt;/\U&amp;/gi
  </code></pre>
  
  <p>capitalize lines like international, integer too. (I know I can add c and search it then confirm it but I prefer adding that to my .vimrc and having the result whenever I save the file.)</p>
  
  <p>So how can I only capitalize lines starting with int .  (int period space another word(s)..) I tried</p>
  
  <pre><code>%s/\&lt;int.\s*\&gt;/\U&amp;/g
  </code></pre>
  
  <p>but it didn't work.</p>
  
  <p>Thanks.</p>