i'm having a string
var str = "hello -- (world)";
using regex and replace
str.replace([a-z],"0");
replaces all the alphabets. but i need to replace other than alphabet.
i'm having a string
var str = "hello -- (world)";
using regex and replace
str.replace([a-z],"0");
replaces all the alphabets. but i need to replace other than alphabet.