Hi ,

 

i am using the following regex - [a-zA-Z0-9]{9,18} which means I can use alphabets and numbers with minimum length as 9 and maximum length as 18.It should not take special characters.

It takes values like ADV0098890 etc. but it is also taking ADV0098890[] which is wrong.

 

How can i prevent that ?

 

 

Thanks

Lovin

FacebookTwitterLinkedin
Pin It
Joomla Tutorials for Beginners