blob: fa3a144beb7595165863997b79927cffe303d444 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
using System.Text.RegularExpressions;
namespace IOL.GreatOffice.Api.Utilities;
public static class Validators
{
private static readonly Regex EMAIL_REGEX = new("");
public static bool IsValidEmail(this string email) {
return EMAIL_REGEX.IsMatch(email);
}
}
|