I searched a lot for a regex pattern which is convenient for me. I couldn't find any.
Here is my conditions,
1. email should not contain any space or special characters(excep @ and .)
2. email should not start with dot(.) or should not end with .(before @ symbot)
3. two dots should not come near.
4. @ symbol should not repeat.
Here some valid and invalid email IDS,
[email protected] -- valid
[email protected] -- invalid(dot and @ should not come closer)
[email protected] --invlid(two dots should not come closer)
firstname#[email protected] -- invalid(should not contain any special characters appart @ and .)
[email protected] -- valid
first [email protected] -- invalie( should not allow any spaces)
[email protected] --invalid(should not start with .)
I found lot of regex pattern for email. but didn't satisfy my conditions
Thanks in advance,