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])$

Fil

Cause I can't leave it alone:

^([A-Za-z]+|[0-9]+|[EMAIL PROTECTED])(?(?<=[A-Za-z])[EMAIL PROTECTED]|[EMAIL 
PROTECTED]).*$

Fil
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to