Regular Expressions

By February 16, 2019Uncategorized

Regular expression for only alphabets and space


1
str.replace(/[^a-zA-Z ]/g, "");

priyankmaniar

Author priyankmaniar

More posts by priyankmaniar