All ChallengesGet full labs
intermediateweb5 min+20 pts
Regex Email Pattern
Write a regex that matches a valid email address.
You need to validate email addresses using a regular expression. The pattern should match standard email formats.
challenge
Test strings:
"user@example.com" → valid
"test.name+tag@domain.co" → valid
"invalid@" → invalid
"@nodomain.com" → invalidEnter a simple regex pattern that matches a valid email. Use a basic pattern like: word chars + @ + word chars + . + word chars. Enter just the pattern without slashes (e.g. \w+@\w+\.\w+)
Challenge of the week?
New challenges added every Monday