How can I use both /g and /i in regex to make my search repeat through the entire search as well as ignore case sensitivity in javaScript? : <p>I want to remove white space, comma, and digits from my string as well as ignore case sensitivity.
Below is my regex to this I am not able to use /i(to remove case sensitivity) and /g(repeat search) together in my expression.</p>

<blockquote>
  <p>Regex expression</p>
</blockquote>

<pre><code>var str = "My age is 0, 0 si ega ym."
str.replace(/[,\s\d.]+/g,'')
</code></pre>

<p>Where shall I put /i in the above expression?</p>
