正则验证表达 extjs中的form

{

                               
                                fieldLabel : "租户电话",
                                name : "phone",
                                regex : /^((\(\d{3}\))|(\d{3}\-))?(\(0\d{2,3}\)|0\d{2,3}-)?[1-9]\d{6,7}$/,
                                allowBlank : false,
                                blankText : "该项为必选项!"
              
                            }, {

                              
                                fieldLabel : "租户手机",
                                name : "mobile",
                              regex:/^(13[0-9]|15[0|3|6|8|9])\d{8}$/,
                                allowBlank : false,
                                blankText : "该项为必选项!"
                            },

你可能感兴趣的:(ExtJs)