Regular Expressions

Regular Expressions

By February 16, 2019 January 14th, 2020 No Comments

Regular expression for only alphabets and space


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