title: Javascript | Can't replace \n with String.replace()
body: <p>I have code which parse web-site and take information from database.
  It's look like this:</p>
  
  <pre><code>var find = body.match(/\"text\":\"(.*?)\",\"date\"/);
  </code></pre>
  
  <p>As result, I have:</p>
  
  <blockquote>
    <p>гороскоп на июль скорпион\nштукатурка на газобетон\nподработка на день\nмицубиси тюмень\nсокращение микрорайон</p>
  </blockquote>
  
  <p>Then i try to replace \n, but it's don't working.</p>
  
  <pre><code>var str = find[1].replace(new RegExp("\\n",'g'),"*");
  </code></pre>
  
  <p>What I can do with this?</p>