export const checkEmail = (value: any) => { const emailRegex = /^[\w-.]+@([\w-]+\.)+[\w-]{2,4}$/; if (!emailRegex.test(value)) { return "E-posta adresi yanlış. Lütfen geçerli bir e-posta adresi girin."; } return true; };