regular expression for alphabets and special characters code example Example: regex notation for alphabet characters /^[A-Z]+$/i /^[A-Za-z]+$/