Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Find Users #44

Answered by iamAntimPal
IamShiwangi asked this question in Q&A
Mar 21, 2025 · 1 comments · 1 reply
Discussion options

1517. Find Users With Valid E-Mails

Wrong Answer
24 / 26 testcases passed

Editorial
Input
Users =
| user_id | name    | mail                 |
| ------- | ------- | -------------------- |
| 1       | Winston | winston@leetcode?com |

Use Testcase
Output
| user_id | name    | mail                 |
| ------- | ------- | -------------------- |
| 1       | Winston | winston@leetcode?com |
Expected
| user_id | name | mail |
| ------- | ---- | ---- |
This doesn't support visualization.

THIS IS SHOWING ME GIVE ME ANSWER

You must be logged in to vote
SELECT *
FROM Users
WHERE REGEXP_LIKE(mail, '^[A-Za-z]+[A-Za-z0-9\_\.\-]*@leetcode\\.com$');

EPLANATION

Replies: 1 comment · 1 reply

Comment options

SELECT *
FROM Users
WHERE REGEXP_LIKE(mail, '^[A-Za-z]+[A-Za-z0-9\_\.\-]*@leetcode\\.com$');

EPLANATION

You must be logged in to vote
1 reply
@IamShiwangi
Comment options

Thnk you

Answer selected by IamShiwangi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.