title: Remove multiple spaces and new lines inside of String
body: <p>Suppose we have string like this:</p>
  
  <pre><code>Hello, my\n       name is Michael.
  </code></pre>
  
  <p>How can I remove that new line and strip those spaces after that into one inside of string to get this?</p>
  
  <pre><code>Hello, my name is Michael.
  </code></pre>