Language Basics JavaScript DHTML

function stripCommas(numString) {
    var re = /,/g;
    return numString.replace(re,"");
}