validation expression for pincode checking \d{0,6}
^\w+$ - text without spaces and numbers
http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? - for url
^[0-9]+$ - for numbers
\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* - for email
^\w+$ - text without spaces and numbers
http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&=]*)? - for url
^[0-9]+$ - for numbers
\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* - for email
This comment has been removed by a blog administrator.
ReplyDeleteHi Raghavendhar!
ReplyDeleteI think the validation expression for pincode should be \d{6}. Or else even single digit will be accepted as pincode.
Thanks! Your blog helps me in many ways!