Retrieving mail id from pattern

Hi ,

after outlook activity,i can get the from email dertails but getting in below manner

“kumar,alok” alok.kumar@se.com

but i need only alok.kumar@se.com. please suggest

You can try a regex or string manipulations.

Thanks,
Prankur

can you give the the expression if you are aware

Use Matches activity
Input : YourInput
Pattern : ([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$
Result: iEnumResult -> IEnumberable<Match>
after that use assign activity to get the data
strMailID =iEnumResult (0).ToString()

Regards,
Arivu