Multiple email address validation check

I need to validate if the list is line delimited and in a valid email format using regex in paragraph field .  If not , throw a validation message.


test@test.com

test2@test.com

test3@test.com

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to Mathieu Drouin

    I have an expression rule where I added ~18 extended test cases - edge cases to try to break the validation function - a while ago I developed a RegEx that handles all of them, and the plug-in rule (which came later iirc) handles all of them as well.  I switch back and forth regarding which version to use - i haven't noticed any major performance difference between them (and they both use a plug-in ultimately so it's not like either version saves a dependency).