Rule: field must contain at least 2 non-space alphanumeric characters.
please any one can guide us how to write the regular expression
thanks in advance….
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Match one alphanumeric character followed by zero or more characters followed by another alphanumeric character:
If the validation automatically adds ^ and $, you have to match the characters before and after also:
The
\wcode matches A-Z, a-z, 0-9 and _. If you have a different definition for aplhanumeric characters, you can use a set of characters instead, for example: