title: Line break inside string (React Native)
body: <p>I'm developing an app where at some point app receives a string from Facebook Graph API.</p>
  
  <p>String looks like that:</p>
  
  <pre><code>"Some text some text, some text.\n\nMore text and more\n\nAnd little bit more".
  </code></pre>
  
  <p>How can I replace \n\n with line break what actually works in code?</p>
  
  <p>I know how to replace this with something: </p>
  
  <pre><code>var ret = stringToReplace.replace('\n\n','&lt;br /&gt;');
  </code></pre>
  
  <p>But how can i replace it with working line break. I have tried to replace with '\n' '\r\n'. Every replacement just acts like usual text. For example:</p>
  
  <pre><code>"Some text some text, some text.&lt;br /&gt;More text and more&lt;br /&gt;And little bit more"
  </code></pre>