Advertisement

01.23.2008 at 04:29AM PST, ID: 23104075
[x]
Attachment Details

I need a sample to extract email addresses from a Text String

Asked by mj_stanton in .NET, Microsoft Visual Basic.Net

Tags: VB.Net

Hi
I am running into a little problem with an email reporting tool for my client which I believe should be very easy but I am up against a deadline and I am hoping someone may be able to suggest the VB.Net code I need to use.

My Data looks like this;

me.textbox1.text = "bob@bigdog.com; john@fgt.com; Fred@jtx.com"

I just need to be able to strip out each email address so I can treat each of them as an individual value as follows.

Mail.To.Add = "bob@bigdog.com"
Mail.To.Add = "john@fgt.com"
Mail.To.Add = "fred@jtx.com"

Thanks for your help in advance.

Start Free Trial
[+][-]01.23.2008 at 04:32AM PST, ID: 20722724

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 04:33AM PST, ID: 20722730

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Microsoft Visual Basic.Net
Tags: VB.Net
Sign Up Now!
Solution Provided By: Dhaest
Participating Experts: 2
Solution Grade: A
 
 
[+][-]01.23.2008 at 05:27AM PST, ID: 20723086

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628