Hi @Aypn CNN ,
email id name should contains one dot (.) and email id name starts with alphabets only, length would be minimum 5 chars and it is end with preferred domain names, all small letters,
According to your description, I have two questions of your descriptions.
- what's the preferred domain names?
- which words' length are minimum 5 chars? Before @?
Now, I have do a test to meet 3 requirements.
1.contains one dot (.)
([a-z0-9_.])+\.
2.starts with alphabets only
[a-z]
3.all small letters
[a-z]
The complete regex with the 3 requirements:
/^(([a-z])+([a-z0-9_.])+\.)+([a-z])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9])+$/
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.