title: python regex - replace newline (\n) to something else
body: <p>I'm trying to convert multiple continuous newline characters <strong>followed by a Capital Letter</strong> to "____" so that I can parse them.</p>
  
  <p>For example,</p>
  
  <pre><code>i = "Inc\n\nContact"
  i = re.sub(r'([\n]+)([A-Z])+', r"____\2", i) 
  
  In [25]: i
  Out [25]: 'Inc____Contact'
  </code></pre>
  
  <p>This string works fine. I can parse them using ____ later.</p>
  
  <p>However it doesn't work on this particular string.</p>
  
  <pre><code>i =  "(2 months)\n\nML"
  i = re.sub(r'([\n]+)([A-Z])+', r"____\2", i)
  
  Out [31]: '(2 months)____L'
  </code></pre>
  
  <p>It ate capital M. 
  What am I missing here?</p>