C# doubt regarding password check :   Independent houses near kukatpally | Apartments in Pragathi Nagar | AndhraVaani.com | Log Out | Topics | Search
Register | Edit Profile

Bewarse TalkArchives - 2009Cine Talk - Reviews, Gossips, Insider Info etc.Archive through January 25, 2009 � C# doubt regarding password check : Previous Next

Author Message
Top of pagePrevious messageNext messageBottom of pageLink to this message

Yahoo
Kurra Bewarse
Username: Yahoo

Post Number: 1542
Registered: 08-2007
Posted From: 68.100.143.123

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 5:11 pm:Edit PostDelete PostView Post/Check IP

pkfans mama ty very much
Top of pagePrevious messageNext messageBottom of pageLink to this message

Pkfans
Pilla Bewarse
Username: Pkfans

Post Number: 977
Registered: 07-2005
Posted From: 131.107.0.82

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 4:55 pm:Edit PostDelete PostView Post/Check IP

Try this for one digit and one upper case in the password.

regex("^\w*(?=.*\d)(?=.*[A-Z])\w*$")
Top of pagePrevious messageNext messageBottom of pageLink to this message

Yahoo
Kurra Bewarse
Username: Yahoo

Post Number: 1541
Registered: 08-2007
Posted From: 68.100.143.123

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 4:42 pm:Edit PostDelete PostView Post/Check IP

pkfans mama

using System.Text.RegularExpressions;

Regex objcapdigcheck=new Regex("[0-9][A-Z]");

ila iste chala...if a string have digit or Uppercase will it return true.

or nenu ichina pattern tho first one should be digit ga choostundha?

oka particular string lo ekkadina atleast oka Capital and digit undali.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Pkfans
Pilla Bewarse
Username: Pkfans

Post Number: 976
Registered: 07-2005
Posted From: 131.107.0.82

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 4:41 pm:Edit PostDelete PostView Post/Check IP

read this information and implement regex
http://nilangshah.wordpress.com/2007/06/26/passwor d-validation-via-regular-expression/


Hi Gochi mama..Hope you are doing well.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Yahoo
Kurra Bewarse
Username: Yahoo

Post Number: 1540
Registered: 08-2007
Posted From: 68.100.143.123

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 4:21 pm:Edit PostDelete PostView Post/Check IP

pkfans mama...dani gurinchi konchem cheppava
Top of pagePrevious messageNext messageBottom of pageLink to this message

Gochi
Bewarse Legend
Username: Gochi

Post Number: 57566
Registered: 07-2004
Posted From: 24.229.138.244

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 4:14 pm:Edit PostDelete PostView Post/Check IP

elcome byaak pkfans maama
Bewarse Legend Of The Year 2008 Award winner
Top of pagePrevious messageNext messageBottom of pageLink to this message

Pkfans
Pilla Bewarse
Username: Pkfans

Post Number: 975
Registered: 07-2005
Posted From: 131.107.0.82

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 4:10 pm:Edit PostDelete PostView Post/Check IP

use regex pattern matching.
Top of pagePrevious messageNext messageBottom of pageLink to this message

Yahoo
Kurra Bewarse
Username: Yahoo

Post Number: 1539
Registered: 08-2007
Posted From: 68.100.143.123

Rating:N/A
Votes: 0(Vote!)

Posted on Thursday, January 15, 2009 - 3:50 pm:Edit PostDelete PostView Post/Check IP

password enter chesina dantlo it should have one upper case and one digit...

can you please let me know how we can do it?