Javascript replace() - Exclude the $1 from the replace rule
<p>how can i exclude the $1 from the replace rule?</p>

<pre><code>regex = new RegExp('hallo, test, blub', 'gi');


content = content.replace(regex,'&lt;strong&gt;$1&lt;/strong&gt;');

alert('$1'); // dont work
</code></pre>

<p>Thanks in advance!
Peter</p>
