Regular expression to extract multiple email addresses from text

Hello Makers,

I’m trying to extract multiple email addresses from a field text. After carefully watching some tutorials, I used a “Text parser” module and wrote this regular expression I found on Regexr.com as pattern :
[a-z0-9!#$%&'+/=?^_{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_{|}~-]+)@(?:a-z0-9?.)+a-z0-9?

Unfortunately, the module does not get any output (see screenshots below). Is there anybody who could help me with this

please ?

Thanks in advance !


I found the answer to my own question, the regular expression is actually correct and working ! If you want to extract email addresses from text, you can use this expression with the Text Parser module :slight_smile:

[a-z0-9!#$%&'+/=?^_{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_{|}~-]+)@(?:a-z0-9?.)+a-z0-9?

1 Like