HTML5 Email Input Pattern Attribute

前端 未结 17 989
时光取名叫无心
时光取名叫无心 2020-11-30 20:09

I’m trying to make a html5 form that contains one email input, one check box input, and one submit input. I\'m trying to use the pattern attribute for the email input but I

17条回答
  •  遥遥无期
    2020-11-30 20:20

    The following regex pattern should work with most emails, including russian emails.

    [^@]+@[^\.]+\..+

提交回复
热议问题