159
rated 0 times
[
162]
[
3]
/ answers: 1 / hits: 17772
/ 13 Years ago, sun, september 4, 2011, 12:00:00
Are there differences between these two?
replace(/[^a-z0-9]/gi, '');
replace(/[^a-zA-Z0-9]/g, '');
Also, are there any significant differences in time using one or another?
edit: about the performance, I did some testing http://jsperf.com/myregexp-test
More From » regex