Replace all occurrences of html tags and special unicode character from a string
<p>I have some text like this</p>

<pre><code>Keeping up with friends is faster than ever.&lt;p&gt;&amp;#x2022; See what friends are up to&lt;br&gt;&amp;#x2022; Share updates, photos and videos&lt;br&gt;&amp;#x2022;
</code></pre>

<p>And I want text like this</p>

<pre><code>Keeping up with friends is faster than ever.
 • See what friends are up to
 • Share updates, photos and videos
</code></pre>

<p>I cleaned out html tags by <code>str.replace(/&lt;[^&gt;]+&gt;/gm, '')</code>, however I cannot remove special symbols.</p>

<p>I am calculating the length of string so special character before compiling in browser gave me different length.</p>

<p>Thanks</p>