title: Using \ character in textarea
body: <p>This might be an stupid question for many of you, but I'm hitting a wall with the stupidest thing. 
  I'm displaying code in a textarea field, but the code includes the character \, so it disappears in the code shown.
  This is the exact line:</p>
  
  <pre><code>'return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")'+
  </code></pre>
  
  <p>And this is what is displayed:</p>
  
  <pre><code>return x.toString().replace(/B(?=(d{3})+(?!d))/g, ",")
  </code></pre>
  
  <p>I know the solution is easy, but I can't find it</p>