I am looking for RegEx for several email addresses. For instance:
1) Single email address:
johnsmith@email.com - ok
2) Two line email address:
johnsmith@email.com karensmith@emailcom - ok
3) Two line email address:
john smith@email.com - not ok karensmith@emailcom
I tried the following:
((\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*(\r\n)?)+)\r*
But when I test it, it still matches the window if there is 1 valid email address, as in example 3.
I need a rule that lists all email addresses.
source share