Hi,
New to this forum and been finding solution to make my work easier.
Issue:
I need to forward system auto generated email to users in email body.
eg.
Related email: ABC.ZXC@gmail.com, QWE234@yahoo.com.au
I found @Diane Poremsky post on "find a code in the message body, then forward" and changed Regex pattern to suit my need
With Reg1
.Pattern = "(Related email:\s*([\w-\.]*\@[\w-\.]*)\s*)\.\s*([\w-\.]*\@[\w-\.]*)\s*)"
.IgnoreCase = True
.Global = False
However the result forward recipients is only the first email address. ie. ABC.ZXC@gmail.com. What i need is all email addresses after the word "related to: "
What is the correct pattern to regex those email addresses
Thank you in advance
JJ
New to this forum and been finding solution to make my work easier.
Issue:
I need to forward system auto generated email to users in email body.
eg.
Related email: ABC.ZXC@gmail.com, QWE234@yahoo.com.au
I found @Diane Poremsky post on "find a code in the message body, then forward" and changed Regex pattern to suit my need
With Reg1
.Pattern = "(Related email:\s*([\w-\.]*\@[\w-\.]*)\s*)\.\s*([\w-\.]*\@[\w-\.]*)\s*)"
.IgnoreCase = True
.Global = False
However the result forward recipients is only the first email address. ie. ABC.ZXC@gmail.com. What i need is all email addresses after the word "related to: "
What is the correct pattern to regex those email addresses
Thank you in advance
JJ