override jquery validate plugin email address validation

前端 未结 4 1182
离开以前
离开以前 2020-11-27 19:31

I find that jQuery validation plugin regex to be insufficient for my requirement. It accepts any email address xxx@hotmail.x as a valid email address whereas I want to be ab

4条回答
  •  囚心锁ツ
    2020-11-27 19:50

    Your regex is simply too strict, jQuery is right.

    "this is a valid adress !"@yes.it.is
    

    I suggest you to read this : Stop Validating Email Addresses With Your Complex Regex

提交回复
热议问题