How to get usere-mailid from the string?

User Email-IDgalax_allu@yahoo.com <mailto:galax_allu@yahoo.com> user full nameAlluraiahYallapragada Managers E-mail ID

I need to get the ouput as :galax_allu@yahoo.com

I used both of the following no use .(in regex…)

((?<User Email-ID)*(?=user full name))

User Email-ID\S{1,30}

@allurai_india

Try below regular expression.

([a-zA-Z0-9+._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)

you were almost done
(?<=Email-ID).*(?=\s<)
it worked as well
image

Cheers @allurai_india

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.