How to replace ^ character in JS : <p>I have a json data in my hand and I want to clear this character "^"</p>

<p>but I can't get out of it because it's a regex operator.</p>

<p>The code I wrote:</p>

<pre><code>data = JSON.stringify(data)
data = data.replace(/^1/g, '');
data = JSON.parse(data)
</code></pre>
