L
laredotornado
Hi,
I'm trying to replace all non-numeric characters with nothing in my
variable. However, this doesn't seem to work ...
var myMixedVar = myMixedVar.replace(/^[0-9]/, "");
Any suggestions what I should have as the reg exp instead?
Thanks, - Dave
I'm trying to replace all non-numeric characters with nothing in my
variable. However, this doesn't seem to work ...
var myMixedVar = myMixedVar.replace(/^[0-9]/, "");
Any suggestions what I should have as the reg exp instead?
Thanks, - Dave