var patt1 = new RegExp(/e/g);
alert(patt1.exec("This is an Example"));
var patt1 = new RegExp(/e/g);
alert(patt1.exec("This is an Example"));
Reveal answer
Fill a bubble to check yourself
var patt1 = new RegExp(/e/g);
alert(patt1.exec("This is an Example"));