var R1 = / /gi; var R2 = ''; Ezer.replace(R1,R2); doesn't drop all spaces on string.... what's wrong here?