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 %$#@
Thats not that great a specification :-). Can you give some examples of strings that you want to accept and others that you want to reject? Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams in Guardian, 25-Aug-95 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
