jQuery Email Regex

前端 未结 2 2003
轻奢々
轻奢々 2020-12-11 23:08

I have been developing a script and I\'m stumped right now. I have tried many different Regex from Google and non have worked, this is my code:

$(document).r         


        
2条回答
  •  無奈伤痛
    2020-12-11 23:56

    You could skip writing the regex and use the jQuery validation plugin for this task. There's an example here of validating an email address.

提交回复
热议问题