Find All Email Addresses in A Given String

Category:
String Manipulation
Type:
Snippets
Difficulty:
Intermediate
Author:
Anonymous

Version Compatibility: Visual Basic.NET

More information:
If you have a given string you need to extract all email addresses from, then call this function, passing it your string to search, and it will return a List of found emaill addresses based on regular expression matching.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: