How to remove repetitive chars in javascript
<p>I have a file that contains words with repetitive chars, like:</p>

<ul>
<li>boooody</li>
<li>Steveeen</li>
<li>uuuuuuser</li>
<li>etccccc</li>
</ul>

<p>In Javascript(used on nodejs), how do i remove that extra chars so i get <code>body</code>, <code>user</code> etc.?</p>
