Hi!
On Tue, 27 Sep 2005 08:27:26 -0400, Frank lists@frankmarion.com wrote:
Hi, I'm new to the list. I was looking for a nice regex list, and found this one.
This is not a general regex list, it is specifically for the "Regex Coach" application.
A programmer wants to test a password, and he wants to do it in ONE expression. Here are the criteria for a well formed password
- Minumum of eight characters in length
- Two words [a-z_] are required
- Two digits [0-9] are required.
(?=.*[a-z_].*[a-z_])(?=.*[0-9].*[0-9]).{8,}
Cheers, Edi.