Hi everyone,
I have validation in flow. The expression is [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4} but it does not give an error for test@test..com (two dots). How can I update it for not allowing that?
Thank u.
4 risposte

Maham Hassan (ConX Digital) Forum Ambassador
Hey Deniz,
Try Below for validating Email formula.
NOT(REGEX( Custom_Email_Field__c ,'
([a-zA-Z0-9_\\-\\.]+)@((\\[a-z]{1,3}\\.[a-z]{1,3}\\.[a-z]{1,3}\\.)|
(([a-zA-Z0-9\\-]+\\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})'))