Removing Numbers from a String using Javascript

Posted by Abs on Stack Overflow See other posts from Stack Overflow or by Abs
Published on 2010-05-20T22:35:45Z Indexed on 2010/05/20 22:40 UTC
Read the original article Hit count: 151

Filed under:
|

Hello all,

How do I remove numbers from a string using Javascript?

I am not very good with regex at all but I think I can use with replace to achieve the above?

It would actually be great if there was something JQuery offered already to do this?

//Something Like this??

var string = 'All23';
string.replace('REGEX', '');

I appreciate any help on this.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery