ASP.NET - Question - Asked By Raju Chary on 18-Aug-12 11:13 AM

hiee, i have one doubt on this
UserName
should accept only _(Underscore) and characters only. Examlple: raju_raju
Password(Minimum 6 characters) should accept character, atleast one number and one special character.
Example: raju06@

Please help me ASAp,
Thanks In advance .
Peter Bromberg replied to Raju Chary on 19-Aug-12 08:18 PM
You would use a custom REGEX (regular expression) validator for both the username and password for this. Developing the actual REGEX match expression is beyond the scope of a simple forum post, but if that's what you want, you know what to study to achieve it.