Combination View Flat View Tree View
Threads [ Previous | Next ]
Peter B West
password regular expression
May 18, 2012 3:06 AM
Answer

Peter B West

Rank: Junior Member

Posts: 57

Join Date: March 23, 2009

Recent Posts

Attached is a file that implements a more extensive regular expression pattern for passwords. I haven't tried it in the server yet, but the file provides a stand-alone regular expression test. Not an interactive test - sorry. But if you open the file in your IDE, you can change the tested string and re-run, which is how I tested it.

It provides for mixed upper and lower case alphanumerics and punctuation characters, requiring at least 8 characters and at least one of each category. Pretty much a standard password requirement.

Let me know if yo used any problems with it, or if you use it successfully in anger.

Peter
Attachments: JunkJava.java (1.7k)