This commit is contained in:
hamid zarghami
2025-01-22 10:23:52 +03:30
parent 99573f050a
commit ab441a593c
18 changed files with 344 additions and 39 deletions
+4
View File
@@ -0,0 +1,4 @@
export function isEmail(input: string): boolean {
const emailRegex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/;
return emailRegex.test(input);
}