validation for email regex including empty strings #3117
-
I am trying to validate an email address in a Form Field. The email validation regex part and the single space ( "Custom validation rules" Any ideas on how to achieve my goal? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi Eike. I found this one to work:
|
Beta Was this translation helpful? Give feedback.
-
Your email regex is much more sophisticated but only covers the email part. |
Beta Was this translation helpful? Give feedback.
-
How about this based on RFC 5322 ^((?:[A-Za-z0-9!#$%&'*+\-\/=?^_`{|}~]|(?<=^|\.)"|"(?=$|\.|@)|(?<=".*)[ .](?=.*")|(?<!\.)\.){1,64})(@)((?:[A-Za-z0-9.\-])*(?:[A-Za-z0-9])\.(?:[A-Za-z0-9]){2,})$ |
Beta Was this translation helpful? Give feedback.
Hi Eike. I found this one to work: