Regular Expression for alphabets with spaces May 19, 2023 by Tarik Just add the space to the [ ] : var regex = /^[a-zA-Z ]*$/;