Donmclean
5/4/2016 - 7:17 PM

REGEX THAT REPLACES ALL NUMBERS IN STRING

REGEX THAT REPLACES ALL NUMBERS IN STRING

'REPLACE 233  ALL 2232 NUMBERS 3232 IN 3234 STRING'.replace(/[0-9]/g, '');
'REMOVE ALL SPECIAL CHARS'.replace(/[^\w\s]/gi, '');