How to apply Multiple ng-pattern with one input control

后端 未结 5 560
甜味超标
甜味超标 2021-01-01 05:30

I am trying to Validate Postal code and Phone Number in Text box using Angularjs. But it\'s not working

 

        
5条回答
  •  离开以前
    2021-01-01 05:39

    Your regex has two || instead of single, which breaks the regex validation clause.

    I pasted it to (https://regex101.com) and it says that char breaks it.

提交回复
热议问题