Retrieve email id from a given string

Hi

I want retrieve email id’s from given input values.

Below are the input strings.

string1 : “x#yr123@outlook.com”-
string2: “My email is like you ymax@ymail.com
string 3: “y, x@-,& you are so, xyz@gmail.com1234” -

output :
yr123@outlook.com
ymax@ymail.com
xyz@gmail.com

Example:

Thanks,
Sreeni

Hello!

I didn’t understand your problem. Could you please be more specific?

Regards,

Example

i am giving some text value which contain emaild id. i want display only email id

text :
“y, x@-,& you are so, xyz@gmail.com1234”

from above text how can i get email id like “xyz@gmail.com

Thanks

Above regex should work.You can search the forum on how to use Regex Matches.

1 Like

Hi,

Here we go to apply regex for validation of email:

Thanks,
Girish

1 Like

Hi @sreenu_uipath
Please follow my code Retrieve email id from a given string.xaml (6.3 KB)

2 Likes

Thanks :slight_smile:

Thanks for help :slight_smile: