Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static bool IsEmail(string sEmail) {
- if (sEmail != null) {
- return Regex.IsMatch(sEmail, MatchEmailPattern);
- }
- else {
- //if sEmail is null, we don't test at all
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement