title: jQuery javascript regex Replace <br> with \n
body: <p>How do i write a regex to replace <code>&lt;br /&gt;</code> or <code>&lt;br&gt;</code>  with <code>\n</code>. I'm trying to move text from div to textarea, but don't want <code>&lt;br&gt;</code>'s to show in the textarea, so i want to replace then with <code>\n</code>.</p>