regular expression for regular expression validator [modified]
-
Hi all,:) Please send the regualar expression to validate the control must contain A)3-10 character having a-z,A-Z,0-9,@_'- B) At least 8 character is required (a-z,A-Z,!,_) where control must contain at least one number and one lower case letter. thanks in advance. regards srinandan -- modified at 5:03 Thursday 2nd November, 2006
-
Hi all,:) Please send the regualar expression to validate the control must contain A)3-10 character having a-z,A-Z,0-9,@_'- B) At least 8 character is required (a-z,A-Z,!,_) where control must contain at least one number and one lower case letter. thanks in advance. regards srinandan -- modified at 5:03 Thursday 2nd November, 2006
-
immori wrote:
for case (A) use : [\w@_]{3,7}
The underscore character is included in \w, but you forgot the apostrophe and the dash. :) [\w@'\-]{3,7}
--- b { font-weight: normal; }