Difference between revisions of "Regexp:Email"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
| Line 3: | Line 3: | ||
|regexp=/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)!(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i | |regexp=/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)!(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i | ||
|message=Must be a valid e-mail address}} | |message=Must be a valid e-mail address}} | ||
| + | The regexp is taken from https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript and the pipe char is replaced by the default [[Property:Regexp or char]] !. | ||
Revision as of 10:01, 1 March 2021
| id | |
|---|---|
| regexp | /^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)!(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i |
| base type | |
| inverse | |
| message | Must be a valid e-mail address |
| or char | |
| base prefix |
Regexp
The regexp is taken from https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript and the pipe char is replaced by the default Property:Regexp or char !.