Draft
Email Validation
218 of 831yaphi1
Description:
Write a function to test whether a given input is a valid email address.
For the purposes of this kata, here is what makes a valid email:
- At least one letter character at the beginning
- All characters between the first character and the @ (if any) must be letters, numbers, or underscores
- There must be an @ character (after the points listed just now)
- After the @ character, there must be at least one word character (letter, number, or underscore) or hyphen
- The email must end with at least one set of a dot followed by one or more word characters.
- The input must NOT be case-sensitive
The function should return true
or false
.
Regular Expressions
Strings
Fundamentals
Similar Kata:
Stats:
Created | May 28, 2014 |
Warriors Trained | 3181 |
Total Skips | 763 |
Total Code Submissions | 11490 |
Total Times Completed | 831 |
JavaScript Completions | 448 |
Java Completions | 92 |
Python Completions | 218 |
Ruby Completions | 88 |
Total Stars | 61 |
% of votes with a positive feedback rating | 91% of 294 |
Total "Very Satisfied" Votes | 254 |
Total "Somewhat Satisfied" Votes | 27 |
Total "Not Satisfied" Votes | 13 |
Total Rank Assessments | 296 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 3 kyu |
Lowest Assessed Rank | 8 kyu |