Regex in Javascript using OR : <p>I'm trying to write a regex expression to match multiple characters such as , OR . OR : OR ( OR )</p>

<p>I have this</p>

<pre><code>removePunctuation = /\.$|\,$|\:|\(|\)/;
word = rawList[j].replace(removePunctuation,"")
</code></pre>

<p>I just want to remove periods &amp; commas at the end of the sentence but all instances of ( ) :</p>

<p>What am I doing wrong?</p>
