I need a regex to match multiple email address separated by space(s) and/or puncts. The email addresses are into a string. I'm trying this, but it doesn't works
^(\s[[:punct:]])*([a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,6}){1}(\s[[:punct:]])*$
Text could be like this:
Or even like this
Lorem ipsum dolor sit [email protected] amet, consectetur, [email protected], adipiscing elit. Vestibulum consectetur fringilla mi ac dignissim. Nulla at est quam. [email protected] Sed enim.