Shakil ahmed• 260
@Shakil-a
Posted
Good job on the solution Khalagai!,
On the point of the regex pattern, this is one i found online: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/g
- Correct Characters: Only allows characters that are usually in email addresses.
- Proper Endings: Makes sure the email ends with something like ".com".
- Correct Format: Prevents wrong characters and checks both parts of the email to be correct.
Marked as helpful
1