我正在使用JqueryValidationEngine在客户端验证我的表单。
我想在表单中使用正则表达式验证文本字段。条件如下
编辑:
条件1:
It should not allow the user to enter single or multiple combinations of zeroes.
E.g. '0', '00,, '00000' etc.
条件2:
It should not allow the user to enter the any multiple digit number starting with 0, but excluding the condition1.
E.g. '01', '001, '001001' , '000001' etc.
我正在使用rubular.com来检查正则表达式,我需要两个正则表达式来不允许上述两种类型的值。谢谢 :)-