cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

RegEx Help

Jump to solution

Hi,

I'm trying to extract just the email addresses from a string that looks like the following:

"Tester AM 1 <svc_xxxxam1@de.myco.com>;; Tester PM 1 <svc_xxxxpm1@myco.com>;"

I can't figure out the regex required.  Any help much appreciated.

Reply
3 Replies
Workflow Hero

Re: RegEx Help

Jump to solution

Have look at this post: https://stackoverflow.com/questions/4373508/regular-expressions-how-to-find-the-bit-between-the-in-a....

You also may consider splitting it into a collection and apply the regex from the post on each collection item.

0 Kudos
Reply
Workflow Hero

Re: RegEx Help

Jump to solution

Hi Eric:

I have tried it on regexr.com and seems to work.

/([\w\.\-_]+)?\w+@[\w-_]+(\.\w+){1,}/igm

Sample here >>> RegExr: Learn, Build, & Test RegEx 

Reply
Workflow Hero

Re: RegEx Help

Jump to solution

Seems to do the trick Fernando Hunth‌.  Thanks!

Reply