diff --git a/src/data/index.js b/src/data/index.js index ffd1e9a..b1c4084 100644 --- a/src/data/index.js +++ b/src/data/index.js @@ -42,7 +42,7 @@ export const patterns = [{ }, { name:"Email", - regex:/^.+@.+$/, + regex:/(?:[\w!#$%&'*+=?^_\/{|}`~-]+(?:\.[\w!#$%&'*+=?^_`{|}~-]+)*)@(?:(?:\w(?:\w*\w)?\.)+\w(?:\w*\w)?)/, description:"Verify that there is an @ symbol with something before it", tags:"email,validation" },