Hi All,
I have one input like “My email ID is abc@gmail.com”
How do I get only email id from given input
Hi All,
I have one input like “My email ID is abc@gmail.com”
How do I get only email id from given input
Hi @Nisha_K21
You can use below approach
strYourInput = “My email ID is abc@gmail.com”
strOutput = System.Text.RegularExpressions.Regex.Match(strYourInput, “[a-zA-Z0-9._%±]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}”).Value
This will give you the output as abc@gmail.com
Thanks
This one helped me
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.