7 lines
248 B
Plaintext
7 lines
248 B
Plaintext
I need to add a new feature to validate email addresses. It should:
|
|
- Check that there's an @ symbol
|
|
- Check that there's at least one character before the @
|
|
- Check that there's a dot in the domain part
|
|
- Return true/false
|
|
|
|
Can you implement this? |