I don't know anything about regex.
How do I create an email validation that allows such entries?
Allow
a1b2c3@a1b2c3
a@a
1@1
a1@a@a2e
!s@s$ds
Dont Allow
@
@@@
!@#
Basically allow characters that has @ in the middle
I don't know anything about regex.
How do I create an email validation that allows such entries?
Allow
a1b2c3@a1b2c3
a@a
1@1
a1@a@a2e
!s@s$ds
Dont Allow
@
@@@
!@#
Basically allow characters that has @ in the middle
If you aren't fluent in regex you can split the string at "@" and expect two elements.
If you want to use regex, the first result on google was: https://emailregex.com