i have some now:
define('VALID_TELEPHONE', '/^[\(\+0][\/\(\)0-9 \-]+$/');
define('VALID_TELEPHONE_OR_EMPTY', '/^$|^[\(\+0][\/\(\)0-9 \-]+$/');
define('VALID_EMAIL_OR_EMPTY',
'/^$|\\A(?:^([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i');
define('VALID_NUMBER_OR_EMPTY', '/^$|^[0-9]+$/');


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to