'/^[-\+]?\d+(\.\d+)?$/', 'isEmail' => '/([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)/', 'isPhone' => '/^((\(\d{2,3}\))|(\d{3}\-))?(\(0\d{2,3}\)|0\d{2,3}-)?[1-9]\d{6,7}(\-\d{1,4})?$/', 'isMobile' => '/^((\(\d{2,3}\))|(\d{3}\-))?(13|15|18)\d{9}$/', 'isIdCard' => '/(^\d{15}$)|(^\d{17}[0-9Xx]$)/', 'isMoney' => '/^\d+(\.\d+)?$/', 'isZip' => '/^[1-9]\d{5}$/', 'isQQ' => '/^[1-9]\d{4,10}$/', 'isInt' => '/^[-\+]?\d+$/', 'isEnglish' => '/^[A-Za-z]+$/', 'isChinese' => '/^[\u0391-\uFFE5]+$/', 'isUrl' => '/^(http[s]?:\/\/)?[A-Za-z0-9]+\.[A-Za-z0-9]+[\/=\?%\-&_~`@[\]\':+!]*([^<>\"\"])*$/', 'isDate' => '/^\d{4}-\d{1,2}-\d{1,2}$/', 'isTime' => '/^\d{4}-\d{1,2}-\d{1,2}\s\d{1,2}:\d{1,2}:\d{1,2}$/', 'isUsername' => '/^[A-Za-z0-9_]+$/' ); ?>