title: Regular expression to replace a character on odd repeated occurrences in Python
body: <p>Can't get a regular expression to replace a character on odd repeated occurrences in Python.</p>
  
  <p>Example:</p>
  
  <pre><code>char = ``...```.....``...`....`````...`
  </code></pre>
  
  <p>to</p>
  
  <pre><code>``...``````.....``...``....``````````...``
  </code></pre>
  
  <p>on even occurrences doesn't replace.</p>