title: help on a vim search / replace complex regular expression
body: <p>Here's what I'd like to do with a regular expression: 2 steps:</p>
  
  <p>(1) transform all variables <em>in a selected area</em> like this:</p>
  
  <pre><code>$Sejour_deb_mois
  $Info_pays
  </code></pre>
  
  <p>to :</p>
  
  <pre><code>$SejourDebMois
  $InfoPays
  </code></pre>
  
  <p>(2) transform all variables <em>in a selected area</em> like this:</p>
  
  <pre><code>$this-&gt;Sejour_deb_mois
  $this-&gt;Info_pays
  </code></pre>
  
  <p>to :</p>
  
  <pre><code>$this-&gt;SejourDebMois
  $this-&gt;InfoPays
  </code></pre>
  
  <p>And I'm pretty sure this can be done using a regular expression... but I can't figure out the two good ones that do the job...</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>Thanks</p>
  
  <p>Olivier Pons</p>