Liferay Symposium 2016 | Reserve your seat today.
1. Installation / Deployment / Setup
(Opens New Window)
Mark as an Answer
password regular expression
May 18, 2012 3:06 AM
Peter B West
Rank: Junior Member
Join Date: March 23, 2009
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.
Sign in to vote.
Please sign in to flag this as inappropriate.