Phil Scarratt wrote:
Rick Welykochy wrote:
Stuart Guthrie wrote:
Not being a regex expert I was hoping someone could point me at a
list, forum or just give me a pointer on how to achieve this:
Field that must have 2 out of 3 of these:
standard a-z/A-Z
arabic numbers 0-9
special chars %$#@
[EMAIL PROTECTED]|[A-Za-z0-9]+|[EMAIL PROTECTED]
Maybe something like
[EMAIL PROTECTED](?(?<=[A-Za-z])[EMAIL PROTECTED]|[EMAIL PROTECTED])$
Actually on second thought you may want to drop the first ?. It also
depends on whether the characters specified in the above 3 conditions
are the only allowable characters or not.
Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html