INPUT - “Bahuguna, Gaurav [Sapient Consulting Limited]” gauravbahuguna@chevron.com
output I want - gauravbahuguna@chevron.com
INPUT - “Bahuguna, Gaurav [Sapient Consulting Limited]” gauravbahuguna@chevron.com
output I want - gauravbahuguna@chevron.com
Please use the regex expression to extract the email from a string.
Regex expression -
Regex(@"[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}", RegexOptions.IgnoreCase)
Regards,
Karthik Byggari
Use Regex
([\w.-]+)@([\w-]+)((.(\w){2,3})+)$
This is identify the email format
Hi @Gaurav07,
Try to use this in the assign activity…
outStr= inputStr.Split(" "c)(2)
Cheers.
Vashisht.
Hi @Gaurav07 ,
Try to use this in the assign activity
outstr = Right(inputStr,43)
Regards,
Gulshiyaa
Main.xaml (4.5 KB)
Check this .xaml file
It works