You are on page 1of 1

JavaScript to validate text field should contains alphabets and the length shou

ld not be less than 6 characters

^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$

You might also like