F-y-o-d-o-r
1/30/2018 - 12:05 PM

js - regexp - email check #js #regexp

js - regexp - email check #js #regexp

var r = /^(\w+\.?)+\w+@\w+(\.\w+)+$/i;
if (r.test(value)) {

}