Difference between revisions of "Regexp:Email"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) (Created page with "{{Regexp}}") |
Tim Holzheim (talk | contribs) |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{Regexp}} | + | {{Regexp |
| + | |id=Email | ||
| + | |regexp=/^([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)@(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})$/ | ||
| + | |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]] !. | ||
Latest revision as of 11:41, 1 March 2021
| id | |
|---|---|
| regexp | /^([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)@(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})$/ |
| 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 !.