Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs remove unsafe string

const str = "abc's test#s";
console.log(str.replace(/[^a-zA-Z ]/g, ""));
 
PREVIOUS NEXT
Tagged: #nodejs #remove #unsafe #string
ADD COMMENT
Topic
Name
2+4 =