Regular Expression for email

HOME PHONE # WORK / DAYTIME PHONE # CELL PHONE # E-MAIL ADDRESS 675-567-4567 234-123-1234 111-123-1234 AMARYELANE@HOTMAIL.COM

I want to extract the Email address, PDF contains 10 more addresses but I want to extract only this one

Hello @Amar_Yelane I would like to help you, cold you share original text that contains more Email’s to be abel to built the Correct Regex

Hi @Amar_Yelane

Check with the below pattern.

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

Regards

Hi @Amar_Yelane
Can you Try with Regex condition?

  • Use Assign Activity
    Create Variable = System.Text.RegularExpression.Match(Input_Variable, “([a-zA-Z0-9_-.]+)(@)([a-zA-Z0-9_-.]+)\b”).ToString

Try this!!