Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 794 Bytes

email_validation.md

File metadata and controls

8 lines (7 loc) · 794 Bytes

Regex : ^[^@ ]+@[^@.]+\.\w+$

String Reason Disqualified by
test@.com After matching @ there must be 1 or more characters until "." but there is none [^@.]+
test@test.gmail.com After a "." is found only word characters are allowed \.\w+
te st@gmail.com Space character not allowed [^@ ]+
test@gmail@gmail.com After an "@" is found, there can't be any more "@" all the way to the end @[^@.]+\.\w+$