title: How to remove space followed by line break in python?
body: <p>I have this string: <code>'time. \nAlthough'</code></p>
  
  <p>What I wanna do is remove all spaces followed by a line break. I tried the following but my it doesn't remove anything:</p>
  
  <pre><code>phrase = """
  time. ​
  
  Although 
  """
  
  phrase = phrase.replace(' \n','')
  print(phrase)
  
  </code></pre>
  
  <p>Any help would be much appreciated!</p>